CONNECT
Metoda HTTP
Specyfikacja metody HTTP CONNECT
prace w toku
Metoda HTTP CONNECT została określona w sekcji 4.3.6 dokumentu RFC 7231 przez Internet Engineering Task Force (IETF) i World Wide Web Consortium (W3C).
Opis metody CONNECT
prace w toku
Przykład dla metody HTTP CONNECT
Request header:
CONNECT example.com:443 HTTP/1.1
Host: example.com:443
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537
Proxy-Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l
CONNECT example.com:443 HTTP/1.1
Host: example.com:443
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537
Proxy-Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l
Response header:
HTTP/1.1 200 Connection established
Proxy-Agent: ProxyServer/1.0
HTTP/1.1 200 Connection established
Proxy-Agent: ProxyServer/1.0