Responses provided by the Places (Search) API can optionally be compressed in the
gzip format. Developers are strongly encouraged to make use of this option, as it can have a major positive impact on the responsiveness and performance of the client application by significantly reducing the response size.
Applications can request a gzip-compressed response in two ways. Applications can either set the standard
Accept-Encoding header or set the
x-accept-encoding header. If
x-accept-encoding is set, it overides
Accept-Encoding; the syntax and content of both variants 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 sent with a value of gzip.