diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-07-10 16:33:22 -0700 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-07-10 16:33:22 -0700 |
commit | 013c74d645a5842ce35857e4f14af7fc9961c54d (patch) | |
tree | b7fd3b8f210a9a503d2f9791625f63a183597797 /version.rb | |
parent | 6e76031e8f1f815b390f966cb21e25c66e5ded50 (diff) | |
download | rails-013c74d645a5842ce35857e4f14af7fc9961c54d.tar.gz rails-013c74d645a5842ce35857e4f14af7fc9961c54d.tar.bz2 rails-013c74d645a5842ce35857e4f14af7fc9961c54d.zip |
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.
Diffstat (limited to 'version.rb')
0 files changed, 0 insertions, 0 deletions