-
Notifications
You must be signed in to change notification settings - Fork 811
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
Strictly follow Content-Length header ABNF rule #10144
Conversation
- Replace content-length value type from const char * to std::string_view
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.
Looks good. Would you mind making a follow-up PR to remove the non-sotringview version of value_get?
I'll file an issue to deprecate the |
@masaori335 This has a small merge conflict for 9.2.x, can you make a branch PR please? |
- Replace content-length value type from const char * to std::string_view (cherry picked from commit f9aa1e0) Conflicts: proxy/hdrs/unit_tests/test_Hdrs.cc
Address #10137.
RFC 9110 8.6. Content-Length
If the value filed is empty, it should be handled as a malformed header.