class ActionDispatch::Response
def handle_no_content!
def handle_no_content! if NO_CONTENT_CODES.include?(@status) @headers.delete CONTENT_TYPE @headers.delete "Content-Length" end end
def handle_no_content! if NO_CONTENT_CODES.include?(@status) @headers.delete CONTENT_TYPE @headers.delete "Content-Length" end end