1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
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 Partially revert deprecation of *_filter 2014-06-03 19:53:28 -03:00
assertions Change all MiniTest to Minitest since, MiniTest namespace has been renamed to Minitest 2013-12-18 14:39:50 +05:30
controller Removed single space padding from empty response body. 2014-07-10 16:33:22 -07:00
dispatch Merge pull request #13999 from jamox/update_rack 2014-07-08 11:46:56 -07:00
fixtures Ensure LookupContext in Digestor selects correct variant 2014-03-09 08:47:17 +01:00
journey Force encoding of US-ASCII to UTF-8 in unescape_uri. 2014-07-10 10:02:11 +01:00
lib/controller Eliminate JSON.{parse,load,generate,dump} and def to_json 2013-11-05 22:26:45 -08:00
routing Fix failing test missed for the past year :( 2013-07-17 08:56:34 +01:00
tmp Use safe tmp dir 2009-08-13 21:03:25 -05:00
abstract_unit.rb Merge pull request #15061 from tgxworld/remove_unnecessary_include 2014-05-29 21:33:12 +09:30