-
-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Zlib Extension not woking #814
Comments
What is the error message in the logs? |
@mnapoli While using gzencode(), I'm getting this : 2946e38f-7a46-43ea-8993-e4cb6f9ea4ee Invoke Error |
I guess you have your answer right here then. |
@mnapoli After handling binary-response, I'm getting the response status code as '200'. But the response is not decoded properly. Facing ERR_CONTENT_DECODING_FAILED issue in the browser. FYI : Also there is no error logs in CloudWatch.
|
I think PHP's Have a look at https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-gzip-compression-decompression.html and https://www.serverless.com/plugins/serverless-api-compression if you really want to implement that. |
Hi,
I have deployed a simple php application which has default compression enabled.
I'm using
"ini_set('zlib.output_compression', 'On');"
to compress the responses. But I'm receiving "Internal Server Error" as the response.I tried to manually compress the response by using gzencode() - zlib's function to get the compressed output. Still I'm facing the same issue.
![Screensho
The text was updated successfully, but these errors were encountered: