Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/open-next/src/wrappers/aws-lambda-streaming.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ const handler: WrapperHandler = async (handler, converter) =>

const streamCreator: StreamCreator = {
writeHeaders: (_prelude) => {
_prelude.headers["content-encoding"] = contentEncoding;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it duplicated ?
I think we need to set it here, the compression is done by the wrapper itself

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Check l84

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦 My bad


responseStream.setContentType(
"application/vnd.awslambda.http-integration-response",
);
Expand Down
Loading