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
HTTP/1.1 200 OK
Server: WEBrick/1.7.0 (Ruby/3.1.0/2021-12-25)
Date: Wed, 26 Jan 2022 03:48:33 GMT
Content-Length: 0
Connection: close
...
You can see the Content-Length header is there, and it does cause problems for some kinds of clients.
The text was updated successfully, but these errors were encountered:
Aetherus
changed the title
HTTPProxyServer should not return Content-Length header in successful responses to CONNECT requests
HTTPProxyServer should not send Content-Length header in successful responses to CONNECT requests
Jan 26, 2022
According to RFC7231,
However, I tried the example code on https://docs.ruby-lang.org/en/2.2.0/WEBrick/HTTPProxyServer.html
and sent a request through this proxy
and it showed
You can see the
Content-Length
header is there, and it does cause problems for some kinds of clients.The text was updated successfully, but these errors were encountered: