I have configured my GET API via AWS API Gateway. The endpoint is running a Jersey 2.x REST service.
The client is unable to insert an 'Accept' header, and the API Gateway sees fit to insert its own 'Accept':'application/json' header.
This causes the server to fail the request with HTTP 406, as the server-side API has a '@Produces(MediaType.APPLICATION_OCTET_STREAM' notation.
Does anyone have any idea of how I can stop the API Gateway from doing this without resorting to Lambda?