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