instance method
should_apply_vary_header?
Ruby on Rails 8.1.2
Since v6.1.7.10Signature
should_apply_vary_header?()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/http/mime_negotiation.rb, line 214
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 214
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::MimeNegotiation