Http Api and response compression

0

Hi
Do you plan to add response payload compression for the new HTTP API?
In my case Im just using API Gateway _ Lambda _ other AWS services, and want to compress response from lambda to the user.

I can see such functionality for a REST API (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-enable-compression.html) but nothing about it in HTTP section (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html)

Thanks

zefir
已提問 4 年前檢視次數 588 次
2 個答案
1

Currently HTTP API doesn't support a response compression. You should compress the response on your Lambda.

AWS
已回答 4 年前
0

I actually already did this :) Do you have any plans to support it in the future?

zefir
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南