2.2.7.4 GetContentInfo

The purpose of the GetContentInfo request is to retrieve cache-control information from the server without incurring the overhead of a Describe request. This request is normally sent only by clients that are acting as intermediate devices (for example, a caching proxy server).

The GetContentInfo request is implemented by using the GET_PARAMETER request method (sent by the client to the server) and MUST adhere to the syntax for GET_PARAMETER, as specified in [RFC2326] section 10.8.

The Content-Type header MUST be present in the request, and MUST specify the media type application/x-wms-getcontentinfo (section 2.2.6.3.5). The size of the message body MUST be 1 byte. The value of this byte MUST be 0x00.

A server that receives a GET_PARAMETER request MUST treat it as a GetContentInfo request if the Content-Type header specifies the application/x-wms-getcontentinfo media type.

The response to a GetContentInfo request MUST specify the Cache-Control (section 2.2.6.2) header, and MUST contain a zero-length message body.

The following example shows a GetContentInfo request (message body omitted).

 GET_PARAMETER rtsp://myserver.com/mycontent.wmv RTSP/1.0
 Content-Length: 1
 User-Agent: WMCacheProxy/9.0.0.3191
 Accept-Charset: UTF-8, *;q=0.1
 X-Accept-Authentication: Negotiate, NTLM, Digest
 Accept-Language: en-US, *;q=0.1
 Content-Type: application/x-wms-getcontentinfo
 CSeq: 1