Changeset 1818
- Timestamp:
- 07/12/05 19:31:48 (4 years ago)
- Files:
-
- trunk/actionpack/lib/action_controller/base.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/lib/action_controller/base.rb
r1813 r1818 560 560 # 561 561 # Rendering nothing is often convenient in combination with Ajax calls that perform their effect client-side or 562 # when you just want to communicate a status code. 562 # when you just want to communicate a status code. Due to a bug in Safari, nothing actually means a single space. 563 563 # 564 564 # # Renders an empty response with status code 200 … … 622 622 623 623 elsif options[:nothing] 624 render(options.merge({ :text => "" })) 624 # Safari doesn't pass the headers of the return if the response is zero length 625 render(options.merge({ :text => " " })) 625 626 626 627 else