When I am sending a request from client, which contains a gzipped file as data and content-encoding header as gzip, the request payload is being decoded by API-GW in authentication mode (Identify and Access → Custom Extension) and sent as raw data in the request received by endpoint server for authentication. With this we are able to process the request payload.
However, when authentication is not enabled and we are sending the request payload as part of the logs (Traffic Monitoring → Log Invocation → Store Request Payload) we are receiving a string in requestlog which gzip APIs are unable to decode and give an error “gzip: invalid header”. Compress Payload Data is set to False.
Sample payload received in logs:
Yes, I downloaded the 10.15 free trial docker image for our evaluation.