algoliasearch-client-php icon indicating copy to clipboard operation
algoliasearch-client-php copied to clipboard

API Feature - Implement GZIP for POST/PUT

Open Ant-hem opened this issue 5 years ago • 0 comments

The engine is introducing a new feature allowing to optionally compress request payloads (ie. POST/PUT body, http or https).

To test it:

Perform a saveObject with the content encoded with GZIP Don't forget to add: "Content-Encoding: gzip" as a header.

We will discuss a specification for a more detailed implementation. Like adding a enableGZIP flag in client's configuration.

Ant-hem avatar Jun 28 '19 09:06 Ant-hem