CONNECT
HTTP метод
Спецификация на HTTP метод CONNECT
текуща работа
HTTP метод CONNECT е специфициран в раздел 4.3.6 на документ RFC 7231 от Internet Engineering Task Force (IETF) и World Wide Web Consortium (W3C).
Описание на метода CONNECT
текуща работа
Пример за 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