Compression
The CorrigoPro Direct API allows to compress requests and responses by using the standards defined by the HTTP 1.1 specification.
To compress a request##
Include one of the following fields in the HTTP header:
Accept-Encoding: gzip
or
Accept-Encoding: deflate
For more details on these encoding methods, see HTTP 1.1 specification.
The REST web service compresses the response larger than 1 kB if the client properly specifies this header.
The response includes the following header:
Content-Encoding: gzip
or
Accept-Encoding: deflate
Updated over 5 years ago