Cisco Systems OL-5375-01 manual Major version.minor version.maintenance version

Page 8

Chapter 5 HTTP Client Requests and Header Settings

Accept Header

For example, x-CiscoIPPhone/* indicates that all XML objects defined in the specified version of the SDK are supported, and x-CiscoIPPhone/Menu specifies that the <CiscoIPPhoneMenu> object gets supported.

As the example illustrates, the name of the XML object can be derived directly from the content-type by appending the sub-type (the part after the slash) onto "CiscoIPPhone." The content-type can also include an optional version to indicate support for a particular SDK version of that object. If a version is not specified, then the x-CiscoIPPhoneSDKVersion is implied. The syntax of the version number may vary, but, in general, will be as follows:

<major version>.<minor version>.<maintenance version>

Here are some examples of typical content-types:

x-CiscoIPPhone/*;version=3.3.3

x-CiscoIPPhone/Text

x-CiscoIPPhone/Menu;version=3.3.4

 

Cisco IP Phone Services Application Development Notes

5-68

OL-5375-01

Image 8
Contents Http Client Requests and Header Settings Http Client RequestsHttp Header Settings Http Refresh SettingRefresh Display Sample Mime Type and Other Http Headers Audio ClipsContent Expiration Header Setting CiscoIPPhoneDisplay Identifying the Capabilities of IP Phone ClientsCiscoIPPhoneModelName Accept Header CiscoIPPhoneSDKVersionMajor version.minor version.maintenance version