Request and response body data may be encoded with gzip compression to accelerate interactive performance of API calls and responses. This is controlled using the Accept-Encoding
header on the request from the client and indicated by the Content-Encoding
header in the server response. Unless the header is explicitly set, encoding defaults to disabled.
Table. Encoding Headers
Header | Type | Name | Value |
---|---|---|---|
HTTP/1.1 | Request | Accept-Encoding | gzip |
HTTP/1.1 | Response | Content-Encoding | gzip |