method

_set_vary_header

Importance_0
v7.0.0 - Show latest stable - 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 self.headers["Vary"].blank? && request.should_apply_vary_header?
          self.headers["Vary"] = "Accept"
        end
      end
Register or log in to add new notes.