Obey RFC2616 · khcloud-python/python-proxy@fe495ce · GitHub
Skip to content

Commit fe495ce

Browse files
committed
Obey RFC2616
https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html An HTTP/1.1 proxy MUST ensure that any request message it forwards does contain an appropriate Host header field that identifies the service being requested by the proxy. All Internet-based HTTP/1.1 servers MUST respond with a 400 (Bad Request) status code to any HTTP/1.1 request message which lacks a Host header field.
1 parent 7c96730 commit fe495ce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pproxy/proto.py

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)