APIdock
/
Ruby on Rails
/
Browse
About
method
location
v8.0.0
-
Show latest stable
- Class:
ActionDispatch
::
Response
location
public
Location of the response.
Show source
# File actionpack/lib/action_dispatch/http/response.rb, line 239
Related methods
Instance methods
abort
await_commit
await_sent
body
body=
body_parts
charset
charset=
close
code
commit!
committed?
content_type
content_type=
cookies
delete_header
each
get_header
has_header?
location
location=
media_type
message
prepare!
redirect_url
reset_body!
response_code
send_file
sending!
sending?
sending_file=
sent!
sent?
set_header
status=
status_message
to_a
write
Class methods
create
merge_default_headers
new
Private methods
assign_default_content_type_and_charset!
before_committed
before_sending
build_buffer
handle_no_content!
munge_body_object
parse_content_type
parsed_content_type_header
rack_response
set_content_type