I noticed that DELETE requests weren't properly proxied. They were simply timing out. The content_length is always set, even when the request doesn't accept a body. So this PR fixes this by setting the content_length only when a request body is permitted.
I noticed that DELETE requests weren't properly proxied. They were simply timing out. The
content_length
is always set, even when the request doesn't accept a body. So this PR fixes this by setting thecontent_length
only when a request body is permitted.