CONNECT
Metoda HTTP
Specifikacija metode HTTP CONNECT
delo v teku
Metodo HTTP CONNECT sta v oddelku 4.3.6 dokumenta RFC 7231 določila projektna skupina za internetno inženirstvo (IETF) in konzorcij za svetovni splet (W3C).
Opis metode CONNECT
delo v teku
Primer za metodo 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