python-arango icon indicating copy to clipboard operation
python-arango copied to clipboard

[DE-716] Compression of requests and responses

Open apetenchea opened this issue 1 year ago • 0 comments

Adding compression of requests and responses, as implemented in https://github.com/arangodb/arangodb/pull/20128

The ArangoClient gets two optional parameters:

  • request_compression - Represents the compression strategy, None by default. The reason for passing in an object instead of a string (such as deflate) is to allow the client to fine tune the compression algorithm (the compression level).
  • response_compression - The equivalent of Accept-Encoding. This has no effect unless the server is configured to use encoding.

apetenchea avatar Feb 26 '24 17:02 apetenchea