You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dynamicresponseClass=newIntArray2DResponse(requestData.ClientTransactionID,requestData.ServerTransactionID);// Initialise here so that there is a class ready to convey back an error message
// These flags indicate whether the client supports optimised, faster transfer modes for camera image data
6447
6451
SharedConstants.ImageArrayCompressioncompressionType=SharedConstants.ImageArrayCompression.None;// Flag to indicate what type of compression the client supports - initialised to indicate a default of no compression
// Determine whether the client supports compressed responses by testing the Accept-Encoding header, if present. GZip compression will be favoured over Deflate if the client accepts both methods
6454
6458
string[]acceptEncoding=requestData.Request.Headers.GetValues("Accept-Encoding");// Get the Accept-Encoding header, if present
if(acceptEncoding!=null)// There is an Accept-Encoding header so check whether it has the compression modes that we support
6456
6461
{
6457
6462
if(acceptEncoding[0].Contains("deflate",StringComparison.InvariantCultureIgnoreCase))compressionType=SharedConstants.ImageArrayCompression.Deflate;// Test
0 commit comments