Flowdock
method

_set_vary_header

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActionController::Rendering
_set_vary_header() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/metal/rendering.rb, line 80
      def _set_vary_header
        if response.headers["Vary"].blank? && request.should_apply_vary_header?
          response.headers["Vary"] = "Accept"
        end
      end
Register or log in to add new notes.