Skip to content

fix: HTTP field value canonicalization corrected - #195

Merged
dadrus merged 1 commit into
mainfrom
fix/raw_serializer
Nov 6, 2026
Merged

dadrus merged 1 commit into
mainfrom
fix/raw_serializer

Conversation

@dadrus

@dadrus dadrus commented Nov 6, 2026

Copy link
Copy Markdown
Owner

This PR fixes the canonicalization of regular HTTP field values according to RFC 9421. It removes surrounding whitespace, normalizes obsolete line folding, and rejects invalid control characters and non-ASCII values. Meaningful internal whitespace is preserved, and the original header values remain unchanged.

@codecov

codecov Bot commented Nov 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.94%. Comparing base (50e1c32) to head (62f6953).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #195      +/-   ##
==========================================
+ Coverage   97.92%   97.94%   +0.02%     
==========================================
  Files          22       22              
  Lines        1492     1511      +19     
==========================================
+ Hits         1461     1480      +19     
  Misses         31       31              

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

@dadrus
dadrus merged commit b6e9ce3 into main Nov 6, 2026
11 of 12 checks passed
@dadrus
dadrus deleted the fix/raw_serializer branch November 6, 2026 23:48
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.

1 participant