HTTP method CONNECT

The HTTP CONNECT method starts two-way communications with the requested resource. It can be used to open a tunnel.

Example

CONNECT server.example.com:80 HTTP/1.1
Host: server.example.com:80
Proxy-Authorization: basic aGVsbG86d29ybGQ=