method

handle_no_content!

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionDispatch::Response
handle_no_content!() 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_dispatch/http/response.rb, line 527
    def handle_no_content!
      if NO_CONTENT_CODES.include?(@status)
        @headers.delete CONTENT_TYPE
        @headers.delete "Content-Length"
      end
    end
Register or log in to add new notes.