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/action_controller
Armand du Plessis c62abed8ca Collapsed dual checks (one for content headers and one for content) into a single check.
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.
2012-08-02 16:01:08 -07:00
..
caching Clean up Sweeper controller accessor when an Error is raised 2012-07-20 05:49:45 -05:00
deprecated Deprecate ActionController::Integration, ActionController::IntegrationTest, ActionController::PerformanceTest,ActionController::AbstractRequest, ActionController::Request, ActionController::AbstractResponse, ActionController::Response and ActionController::Routing 2012-01-15 00:02:07 +05:30
metal Collapsed dual checks (one for content headers and one for content) into a single check. 2012-08-02 16:01:08 -07:00
railties Simplify helpers handling. Ensure Metal can run AC hooks. 2012-03-15 08:48:38 +01:00
vendor load active_support/core_ext/class/attribute in active_support/rails 2012-08-02 21:59:23 +02:00
base.rb Add ActionController::HTTP 2012-03-14 12:46:23 -03:00
caching.rb ActionController::Caching depends on RackDelegation and AbstractController::Callbacks 2012-06-13 16:18:03 -03:00
deprecated.rb Deprecate ActionController::Integration, ActionController::IntegrationTest, ActionController::PerformanceTest,ActionController::AbstractRequest, ActionController::Request, ActionController::AbstractResponse, ActionController::Response and ActionController::Routing 2012-01-15 00:02:07 +05:30
log_subscriber.rb load active_support/core_ext/object/blank in active_support/rails 2012-08-02 21:59:22 +02:00
metal.rb load active_support/core_ext/class/attribute in active_support/rails 2012-08-02 21:59:23 +02:00
middleware.rb
model_naming.rb Remove ActiveModel dependency from ActionPack 2012-06-30 11:04:31 -05:00
railtie.rb Simplify helpers handling. Ensure Metal can run AC hooks. 2012-03-15 08:48:38 +01:00
record_identifier.rb Remove ActiveModel dependency from ActionPack 2012-06-30 11:04:31 -05:00
test_case.rb load active_support/core_ext/class/attribute in active_support/rails 2012-08-02 21:59:23 +02:00