Elasticsearch-js angular compression - Console Error "Accept-Encoding"

Hello,

I am using elasticsearch 5.01 along with the latest angular nrowser build. I have compressin enabled on the server and have set my client settings to:

suggestCompression: true

When i query the server from my client code i get the following error in the console:

angular.js:11945 - Refused to set unsafe header "Accept-Encoding"

The query completes and brings back the correct data but i was just wondering why this error was popping up.

Setting suggestCompression: false removes the error
Thanks,

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.