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