Forum Discussion
hooleylist
Nov 20, 2006Cirrostratus
RFC2817 seems to indicate that the CONNECT method should include a Host header: (Click here)
CONNECT server.example.com:80 HTTP/1.1
Host: server.example.com:80
Proxy-Authorization: basic aGVsbG86d29ybGQ=
Do you have a client making a request where you don't see the Host header? Or does HTTP::host not return anything even with the Host header in the CONNECT request?
Can you post the request headers for a client request?
If the request line contains the host, you could HTTP::uri and a string (or regex) command to return the host from the URI.
Aaron