Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for gzip compression of query response and write body #5

Closed
bednar opened this issue Aug 20, 2019 · 0 comments · Fixed by #6
Closed

Add support for gzip compression of query response and write body #5

bednar opened this issue Aug 20, 2019 · 0 comments · Fixed by #6
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bednar
Copy link
Contributor

bednar commented Aug 20, 2019

The clients should support compress queries and write body after enable gzip:

from influxdb2.client.influxdb_client import InfluxDBClient

_db_client = InfluxDBClient(url="http://localhost:9999/api/v2", token="my-token", org="my-org", enable_gzip=True)

influxdata/influxdb#14495

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant