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 | ||
assertions | ||
controller | ||
dispatch | ||
fixtures | ||
journey | ||
lib/controller | ||
routing | ||
abstract_unit.rb |