opennextjs / opennextjs-aws

Open-source Next.js adapter for AWS
https://opennext.js.org
MIT License
4.38k stars 130 forks source link

fix(http): Set content-length only if body is present #638

Closed vicb closed 2 days ago

changeset-bot[bot] commented 2 days ago

🦋 Changeset detected

Latest commit: 0d304d20c172a5adbbc482ae3bb6e103c8ff3a5f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages | Name | Type | | ---------------- | ----- | | @opennextjs/aws | Patch | | app-pages-router | Patch | | app-router | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 2 days ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 22.17% 1659 / 7482
🔵 Statements 22.17% 1659 / 7482
🔵 Functions 56.57% 99 / 175
🔵 Branches 70.4% 414 / 588
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/open-next/src/http/request.ts 100% 100% 66.66% 100%
Generated in workflow #765 for commit 0d304d2 by the Vitest Coverage Report Action
pkg-pr-new[bot] commented 2 days ago

Open in Stackblitz

pnpm add https://pkg.pr.new/@opennextjs/aws@638

commit: 0d304d2