CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


Sidebar

software:iviewer:http-request-headers

HTTP Request Headers

iViewer sends custom headers along with all HTTP requests to help identify where the request is coming from. The exact headers that are sent differ depending on the context of the HTTP request.

GUI File HTTP Request

When iViewer requests a GUI File to reload, along with the HTTP request it will send the following HTTP Headers:

  • cf-client: iViewer
  • cf-client-version: v4.0.254 build 254
  • cf-client-screensize: width,height (when device is in portrait orientation)
  • cf-hardware: iPad
  • cf-hardware-os: iPhone OS
  • cf-hardware-os-version: 6.1.3
  • cf-hardware-uuid: device ID here (if iOS allows applications access, otherwise it's the same as cf-uuid)
  • cf-uuid: new unique identifier used by CommandFusion for device registration (due to Apple removing access to hardware ID in iOS 6+ releases)
  • cf-new-udid: This header is being phased out in future iViewer versions. Same as cf-uuid.
  • cf-old-udid: Depending on the access level iOS offers applications, this could contain the hardware ID or the CommandFusion device ID.

JS API HTTP Request

HTTP requests sent from the JavaScript API contain the following HTTP Header:

  • User-Agent: iViewer 4 4.0.280 rv:280 (iPhone; iPhone OS 6.1.4; en_AU)

The app name, version and device details will match the details of the mobile device and app being used at the time to make the HTTP request.

software/iviewer/http-request-headers.txt · Last modified: 2013/09/20 00:36 by jarrod