CONNECT
HTTP metode
HTTP metodes CONNECT specifikācija
nepabeigtie darbi
HTTP CONNECT metodi RFC 7231. dokumenta 4.3.6. iedaļā ir precizējusi Interneta inženierijas darba grupa (IETF) un Pasaules tīmekļa konsorcijs (W3C).
CONNECT metodes apraksts
nepabeigtie darbi
HTTP metodes CONNECT piemērs
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