instance method should_apply_vary_header?

Ruby on Rails 6.1.7.10

Since v6.1.7.10

Available in: v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

should_apply_vary_header?()

No documentation comment.

Source
# File actionpack/lib/action_dispatch/http/mime_negotiation.rb, line 156
      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 156 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::Http::MimeNegotiation

Type at least 2 characters to search.

↑↓ navigate · open · esc close