-
Notifications
You must be signed in to change notification settings - Fork 542
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
feat: Introduce rawHeaders
#2435
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2435 +/- ##
==========================================
+ Coverage 85.54% 85.58% +0.03%
==========================================
Files 76 77 +1
Lines 6858 7062 +204
==========================================
+ Hits 5867 6044 +177
- Misses 991 1018 +27 ☔ View full report in Codecov by Sentry. |
Hi @KhafraDev @metcoder95, |
Parsing the headers readily will majorly slow down undici |
It is quite different from what I would do 🤔 Lines 1799 to 1801 in ba4ca32
I would like to keep the By following the approach I suggest, I won't see much of performance penalties, considering that the |
@metcoder95 |
All that remains is to add tests and modify the documentation. |
Not enough tests have been implemented yet, but Passed all current and added tests. Could you please look at it again? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @metcoder95 mostly. This solution seems overly complicated and not correct; there shouldn't be a need to change the non-http2 parts. I do wonder - what benefit is there in having access to the :status
header at all? Wouldn't it make sense to remove it with the rest of the pseudo headers, thereby simplifying this a ton?
This relates to...
Fixes #2415
Rationale
Changes
See #2415
Features
Bug Fixes
Breaking Changes and Deprecations
Status