method

_set_vary_header

Importance_0
v7.1.3.4 - 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 192
      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.