1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib
Godfrey Chan 013c74d645 Removed single space padding from empty response body.
`render nothing: true` or rendering a `nil` body no longer add a single
space to the response body.

The old behavior was added as a workaround for a bug in an early version of
Safari, where the HTTP headers are not returned correctly if the response
body has a 0-length. This is been fixed since and the workaround is no
longer necessary.

Use `render body: ' '` if the old behavior is desired.
2014-07-10 16:33:22 -07:00
..
abstract_controller Relpace =~ Regexp.new str with .include? str in AC::Base#_valid_action_name? 2014-06-19 18:39:58 +03:00
action_controller Removed single space padding from empty response body. 2014-07-10 16:33:22 -07:00
action_dispatch Force encoding of US-ASCII to UTF-8 in unescape_uri. 2014-07-10 10:02:11 +01:00
action_pack Introduce Rails.gem_version 2014-03-05 12:37:38 -05:00
abstract_controller.rb No need for .rb extension 2013-08-25 11:39:09 +02:00
action_controller.rb Remove deprecated cattr_* requires 2013-12-03 00:28:15 +02:00
action_dispatch.rb ActionDispatch::Head was replaced by Rack::Head. Closes #14191. 2014-02-25 11:20:12 +01:00
action_pack.rb update copyright notices to 2014. [ci skip] 2014-01-01 23:59:49 +05:30