-
Notifications
You must be signed in to change notification settings - Fork 77
Content length handling #109
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
Conversation
This ensures that duplicate content length headers with a value of b"0" are correctly considered.
@tomchristie & @sethmlarson @StephenBrown2 Does this look good to you? I think it is probably worth getting into the next release. |
Codecov Report
@@ Coverage Diff @@
## master #109 +/- ##
=======================================
Coverage 99.16% 99.17%
=======================================
Files 21 21
Lines 959 966 +7
Branches 175 178 +3
=======================================
+ Hits 951 958 +7
Misses 7 7
Partials 1 1
Continue to review full report at Codecov.
|
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.
Some performance optimizations, looks good otherwise.
If duplicated exactly when merged into a comma seperated list (the unmerged case is handled already). This is allowed as per RFC 7230 Section 3.3.2.
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.
Seems good to me.
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.
LGTM, thanks for this!
Fixes #92