3.1.5.2 Message Data Upload Processing

The client creates a SQM data upload message consisting of one SQM session as described previously. The client MUST set the SQM header ClientUploadTime field to the client's current UTC time as specified in section 2.2.4.2.

The message is sent to the SQM service by using HTTP/HTTPS POST specifying the SQM partner namespace, as specified in section 2.2.1. The entire message MUST be sent in one HTTP session.

The maximum POST body upload length is a well-known value contracted with the SQM service. This value MUST be known (see section 2.2.1).

  • Upload length: The maximum POST body length (in bytes) as contracted with the SQM service for the SQM partner namespace (compressed or uncompressed). This value is enforced for any SQM upload.

  • Precompressed length: The maximum pre-compression length for a compressed upload. This value is enforced for a compressed SQM upload.

A response message is returned in the HTTP status value and an additional response message MAY be returned in the HTTP header depending on the HTTP status value as specified in section 2.2.5 .

The client processes the response message based on the HTTP status code response described in sections 3.1.5.2.1 through 3.1.5.2.4.