2.1 Transport

The client sends a request message as the payload of an HTTP POST request, and the server sends the response message as the payload of the HTTP response.

For version 1.0 of the protocol, the URL on which the server MUST listen is https://:<port number>/C574AC30-5794-4AEE-B1BB-6651C5315029 and the port number used SHOULD<3> be 443. For version 2.0, the URL on which the server MUST listen is http://:<port number>/0131501b-d67f-491b-9a40-c4bf27bcb4d4 and the port number used SHOULD be 80. However, a higher-layer action such as that taken by an administrator can specify a different legal port number. In that case, the higher-layer action MUST provide the client with the correct port number of the hosted cache.

Note The HTTPS URL does not support version 2.0 protocol messages, and the HTTP URL does not support version 1.0 protocol messages.

The client MUST be configured with the location, including machine name and port number, of the hosted cache that it will connect to when it has content to offer.

The hosted cache can be configured to require of the client SPNEGO-based HTTP authentication [RFC4559]. If so configured, the hosted cache MUST respond to an HTTP request message lacking an acceptable authorization header with a response indicating an HTTP status code 401 (Unauthorized). In that case, the transport MUST pass that status code to the protocol layer.