2.2.5.7 MaxDataServiceVersion

This header is a custom HTTP request only header defined by this document for protocol versioning purposes. This header MAY be present on any request message from client to server.

If present in a request, the VersionNum section, as specified in the following ABNF grammar list, of the header value states the maximum version of the protocol the client can accept in a response.

For additional processing rules for this header, see Versioning and Capability Negotiation (section 1.7).

The VersionServerUserAgent section, as specified in the following ABNF grammar list, of the header value is not significant and SHOULD NOT affect the versioning semantics of a data service.

The syntax of the MaxDataServiceVersion header is defined as follows:

 MaxDataServiceVersion  =  "MaxDataServiceVersion: "
                           VersionNum               ; (section 2.2.5.3)
                           [";"
                           VersionServerUserAgent]
                           CRLF
  
 VersionServerUserAgent =  <0 or more of any valid character in an HTTP header that
                           identifies the server sending the request>

Listing: Syntax of the MaxDataServiceVersion Header

 Example: MaxDataServiceVersion: 1.0;AspNetAjax