method

handle_no_content!

Importance_0
v7.0.0 - 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 511
    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.