Skip to content

Conversation

karenetheridge
Copy link
Member

This is valid according to RFC9110: see
https://datatracker.ietf.org/doc/html/rfc9110#appendix-A for the full ABNF, which is equivalent to the regex: ^[a-zA-Z0-9!#$%&'*+.^_`|~-]+$

Copy link

codecov bot commented Oct 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.57%. Comparing base (9a985b1) to head (ab9213a).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #211   +/-   ##
=======================================
  Coverage   94.57%   94.57%           
=======================================
  Files          10       10           
  Lines        1254     1254           
  Branches      348      350    +2     
=======================================
  Hits         1186     1186           
  Misses         14       14           
  Partials       54       54           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@oalders
Copy link
Member

oalders commented Oct 7, 2025

@karenetheridge could we add some documentation (maybe inline?) about why we are supporting this use case?

@karenetheridge
Copy link
Member Author

Do you mean a code comment, or some pod? I thought the git comment would be sufficiently explanatory if someone wanted to dig into where this change came from.

@oalders
Copy link
Member

oalders commented Oct 7, 2025

I think a code comment is something I'd find helpful. That's easier than digging through the history. I took a quick look at the RFC and it's not clear to me how you end up with a method of 0.

This is valid according to RFC9110: see
https://datatracker.ietf.org/doc/html/rfc9110#appendix-A for the full ABNF,
which is equivalent to the regex: ^[a-zA-Z0-9!#$%&'*+.^_`|~-]+$

This also matches the check in LWP::Protocol::http::request.
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