method
handle_no_content!
v6.1.3.1 -
Show latest stable
- Class:
ActionDispatch::Response
handle_no_content!()private
No documentation available.
# File actionpack/lib/action_dispatch/http/response.rb, line 523
def handle_no_content!
if NO_CONTENT_CODES.include?(@status)
@header.delete CONTENT_TYPE
@header.delete "Content-Length"
end
end