method

handle_no_content!

Importance_0
v5.1.7 - Show latest stable - 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 503
    def handle_no_content!
      if NO_CONTENT_CODES.include?(@status)
        @header.delete CONTENT_TYPE
        @header.delete "Content-Length"
      end
    end
Register or log in to add new notes.