mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
89c62a7bdb
If an app sets the `"Vary"` header in an action to a value other than `"Accept"`, the `_set_vary_header` method will reset it's value to `"Accept"`. This commit checks the header to be sure that it does not already have a value before setting the header to `"Accept"`. |
||
---|---|---|
.. | ||
abstract_controller | ||
action_controller | ||
action_dispatch | ||
action_pack | ||
abstract_controller.rb | ||
action_controller.rb | ||
action_dispatch.rb | ||
action_pack.rb |