APIdock
/
Ruby on Rails
/
Browse
About
method
prepare!
v7.0.0
-
Show latest stable
- Class:
ActionDispatch
::
Response
prepare!
()
public
Alias for
ActionDispatch::Response#to_a
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?
media_type
message
prepare!
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