Requesting Gzip Compressed Responses
Responses provided by the Places (Search) API China - BETA can optionally be compressed in
gzip format. You are strongly encouraged to use this option to reduce the response size and thus significantly improve performance and responsiveness in your application.
You can request gzip-compressed responses with the following methods:
- set the standard
- set the
If you set the
x-accept-encoding header, this setting overrides the
Accept-Encoding header. The syntax and content in both methods are the same. They both conform to the standard accept-encoding header specification as set by the IETF.
|Header name||Header value|
| || |
| || |
Content-Encodingresponse header is set to