Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@oscartbeaumont
Copy link
Contributor

πŸ”— Linked issue

#615

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme, or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Refer to issue #615

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@pi0 pi0 changed the title fix: using request body from getRequestWebStream stalls with Nitro's Deno Deploy/Vercel Edge runtime fix(getRequestWebStream): handle req.body Jan 15, 2024
@pi0 pi0 changed the title fix(getRequestWebStream): handle req.body fix(getRequestWebStream): use if set req.body Jan 15, 2024
@codecov
Copy link

codecov bot commented Jan 15, 2024

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (845eeca) 74.67% compared to head (3a670f0) 74.51%.

Files Patch % Lines
src/utils/body.ts 66.66% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #616      +/-   ##
==========================================
- Coverage   74.67%   74.51%   -0.17%     
==========================================
  Files          47       47              
  Lines        4249     4269      +20     
  Branches      574      576       +2     
==========================================
+ Hits         3173     3181       +8     
- Misses       1061     1073      +12     
  Partials       15       15              

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@pi0 pi0 changed the title fix(getRequestWebStream): use if set req.body fix(getRequestWebStream): reuse buffered body if available Jan 15, 2024
Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

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

Thanks!

I have pushed few more refactors to cover more of edge cases using readRawBody

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants