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.