python-arango
python-arango copied to clipboard
[DE-716] Compression of requests and responses
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,Noneby 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 ofAccept-Encoding. This has no effect unless the server is configured to use encoding.