AnsweredAssumed Answered

API Gateway problem when using Accept-Encoding: gzip,  deflate

Question asked by JustinTaylor82366065 on Apr 5, 2018
Latest reply on Apr 5, 2018 by Mark_HE

We are having and issue when doing a post to an api in our API Gateway with an Accept-Encoding: gzip, deflate request header ie:

 curl -v -H "Content-Type: application/json" -H "Accept-Encoding: gzip, 
deflate"
'http://test.com/api_url' -d '{}'

We dont get any response when the header is present in the request, surely if its not supported or doesnt know how to revert to not using this it should fail with a valid error message? If we remove the accept encoding header this works with no issue.

 

Any help would be very much appreciated, thank you.

Outcomes