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"`. |
||
---|---|---|
.. | ||
api | ||
metal | ||
railties | ||
api.rb | ||
base.rb | ||
caching.rb | ||
form_builder.rb | ||
log_subscriber.rb | ||
metal.rb | ||
railtie.rb | ||
renderer.rb | ||
template_assertions.rb | ||
test_case.rb |