instance method
handle_no_content!
Ruby on Rails 5.0.7.2
Since v5.0.7.2 Private — implementation detail, not part of the public APISignature
handle_no_content!()
No documentation comment.
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
Defined in actionpack/lib/action_dispatch/http/response.rb line 503
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Response