-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(proxy): avoid decoding request body as utf8 #440
Conversation
Codecov Report
@@ Coverage Diff @@
## main #440 +/- ##
==========================================
+ Coverage 78.23% 78.36% +0.13%
==========================================
Files 26 26
Lines 2775 2792 +17
Branches 407 407
==========================================
+ Hits 2171 2188 +17
Misses 604 604
|
5634f51
to
7a3d817
Compare
7a3d817
to
f85b99e
Compare
Hello, I added another test to improve the coverage. It test if additionnals headers are being proxifyed along with request's headers Thanks for the review |
Hi and thanks for the PR. I think it is a good idea to support incoming request body streaming but it only works on Node.js and we have an ongoing draft for it (#374). Is there any chance we might be able to fix |
Yes I can do |
Thanks for helping on this by providing reproduction, explanations and fixtures β€οΈ I have made a refactor to simplify fix (We need to pass Using proxy for incoming requests seems a good idea too! Leveraging |
Thanks a lot for the followup! |
π Linked issue
#413
β Type of change
π Description
Resolves #413
This pull-request add:
This PR consists into 2 commit:
Let me know if I need to update the PR.
Any comments would be appreciated.
π Checklist