CONNECT
HTTP meetod
HTTP-meetodi CONNECT spetsifikatsioon
pooleliolev töö
HTTP-meetod CONNECT on täpsustatud dokumendi RFC 7231 jaotises 4.3.6, mille on koostanud Internet Engineering Task Force (IETF) ja World Wide Web Consortium (W3C).
Meetodi CONNECT kirjeldus
pooleliolev töö
Näide HTTP-meetodi CONNECT kohta
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