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

Added optional extra_headers parameter #173

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wjdecorte
Copy link
Contributor

Allowing for extra headers to be included in the request to Druid opens the ability to send "Accept-Encoding: gzip" and get the data returned from Druid in compressed format. The code was also updated to decompress the data if the response header included "Content-Encoding: gzip".

@wjdecorte wjdecorte force-pushed the f_add_extra_headers branch from 83c90c3 to e9974db Compare August 13, 2019 19:59
@wjdecorte
Copy link
Contributor Author

Flake8 fails on the pre-commit hook due to lines being too long in test_client.py. Altering the problem lines in the test causes it to fail. I had to uninstall the pre-commit hooks in order to commit the code successfully. Either the Flake8 hook needs to be updated to ignore long lines or the tests need to be updated to not have long lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant