4.1 Packet Flow and Connection Establishment
The following diagram shows packet flows between an IP-HTTPS client, IP-HTTPS server, and an IP-HTTPS endpoint.
Figure 7: IP-HTTPS packet flow
When an IP-HTTPS client is behind an HTTP proxy, the client first establishes a tunnel using the CONNECT method, as described in [SSLPROXY]. Subsequent message exchanges are identical to the above diagram and happen over the established tunnel.
The HTTP request sent to the IP-HTTPS server is described below.
-
POST /IPTLS HTTP/1.1 \r\n Content-Length: 18446744073709551615 \r\n Host: <IP-address of IP-HTTPS server> \r\n \r\n
The HTTP response sent from the IP-HTTPS server to the IP-HTTPS client is described below.
-
HTTP/1.1 200 OK \r\n Server: Microsoft-HTTPAPI/2.0 \r\n Date: Sun, 10 Aug 2008 03:51:52 GMT \r\n \r\n