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
Cliff Pruitt 89c62a7bdb Do not set response "Vary" header if it has already been set
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"`.
2019-09-03 11:54:40 -04:00
..
abstract_controller No need to dup options hash where it's not modified 2019-08-19 00:09:08 +09:00
action_controller Do not set response "Vary" header if it has already been set 2019-09-03 11:54:40 -04:00
action_dispatch send with **options only when options is not empty 2019-09-03 20:59:14 +09:00
action_pack Start Rails 6.1 development 2019-04-24 15:57:14 -04:00
abstract_controller.rb Make sure to require active_support.rb before requiring active_support/rails.rb 2019-07-12 18:30:58 +09:00
action_controller.rb active_support/rails has to be required via abstract_controller.rb 2019-07-12 18:33:31 +09:00
action_dispatch.rb Remove invalid autoload of ActionDispatch::Http::Upload 2019-08-08 15:08:45 -04:00
action_pack.rb Bump license years for 2019 2018-12-31 10:24:38 +07:00