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

EnableCompressedResponses has no effect on HttpClient connection #947

Closed
maximpashuk opened this issue Sep 15, 2014 · 1 comment
Closed

Comments

@maximpashuk
Copy link

I am using Elasticsearch.Net.Connection.HttpClientConnection istead of standard HttpConnection.

I realized that setting EnableCompressedResponses() in ConnectionSettings class has no effect on HttpClientConnection, there is no accept-encoding header.

When I use standard HttpConnection, then all is ok, headers appended to web request.
I tested only this settings, probably there is more settings than has no effect on HttpClient connection.
Please check this out.

@Mpdreamz
Copy link
Member

Thanks for reporting @maximpashuk this should now be fixed! 👍

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

No branches or pull requests

2 participants