We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c39b1c3 commit b4c756aCopy full SHA for b4c756a
packages/open-next/src/http/openNextResponse.ts
@@ -312,7 +312,7 @@ export class OpenNextNodeResponse extends Transform implements ServerResponse {
312
//BE CAREFUL: Aws keeps rolling out broken streaming implementations even on accounts that had working ones before
313
//This is not dependent on the node runtime used
314
if (
315
- bodyLength < 1 &&
+ bodyLength === 0 &&
316
// We use an env variable here because not all aws account have the same behavior
317
// On some aws accounts the response will hang if the body is empty
318
// We are modifying the response body here, this is not a good practice
0 commit comments