mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
c62abed8ca
Rails includes a single character body to a head(:no_content) response to work around an old Safari bug where headers were ignored if no body sent. This patch brings the behavior slightly closer to spec if :no_content/204 is explicity requested via a head only response. Status comparison done on symbolic and numeric values Not returning any content when responding with head and limited to a status code that explicitly states no content will be returned - 100..199, 204, 205, 304. |
||
---|---|---|
.. | ||
bare_metal_test.rb | ||
base_test.rb | ||
content_negotiation_test.rb | ||
content_type_test.rb | ||
metal_test.rb | ||
middleware_test.rb | ||
render_action_test.rb | ||
render_context_test.rb | ||
render_file_test.rb | ||
render_implicit_action_test.rb | ||
render_layout_test.rb | ||
render_partial_test.rb | ||
render_streaming_test.rb | ||
render_template_test.rb | ||
render_test.rb | ||
render_text_test.rb | ||
render_xml_test.rb |