HTTP/1.1 CONNECT method

Connection to HTTPS through a proxy server is done by use of the CONNECT
method.
Internet Explorer 5.0 sends this request:

CONNECT joris:443 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Host: joris
Content-Length: 0
Pragma: no-cache


It means a tunnel should be made to the host: Joris
This is on port 443 (HTTPS default port in this case)

How should a proxy respond to this request in case of:
	- success
	- failure (host not found/cannot make connection (502?), not supported
(501?))

This information was not in RFC2616 (and older ones) and I could not find it
in other RFCs.



- Joris Dobbelsteen

Received on Sunday, 19 March 2000 16:50:30 UTC