instance method
should_apply_vary_header?
Ruby on Rails 7.1.6
Since v6.1.7.10Signature
should_apply_vary_header?()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/http/mime_negotiation.rb, line 166
def should_apply_vary_header?
!params_readable? && use_accept_header && valid_accept_header
end
Defined in actionpack/lib/action_dispatch/http/mime_negotiation.rb line 166
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::MimeNegotiation