You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that send_error sends content, even if the request was a HEAD request. It should send the content-length that would be sent but not the content.
I think a more general fix should be put in place. When the final response to any request is being returned, the message body should always be truncated if the request method was HEAD.
The text was updated successfully, but these errors were encountered:
I noticed that send_error sends content, even if the request was a HEAD request. It should send the content-length that would be sent but not the content.
I think a more general fix should be put in place. When the final response to any request is being returned, the message body should always be truncated if the request method was HEAD.
The text was updated successfully, but these errors were encountered: