Skip to content
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

Header Field Parsing #7

Open
Oliver-Loeffler opened this issue Mar 11, 2017 · 0 comments
Open

Header Field Parsing #7

Oliver-Loeffler opened this issue Mar 11, 2017 · 0 comments
Assignees

Comments

@Oliver-Loeffler
Copy link
Owner

Implement a generic header field type and corresponding parser following the guide lines as defined in http://httpwg.org/specs/rfc7230.html#field.parsing .

  • field name and value are separated with a colon
  • no whitespace is allowed between the header field-name and colon, clients should not face this;
  • consider removal of bad whitespace
  • Remove preceding and trailing optional whitespace from field values
  • consider field values following the "obs-fold" (obsolete fold) rule
  • replace "obs-fold" by space (SP)
  • consider other encodings than standard US-ASCII, treat other octets in field content (obs‑text) as opaque data
@Oliver-Loeffler Oliver-Loeffler changed the title Http Header Field Parser Header Field Parsing Mar 11, 2017
@Oliver-Loeffler Oliver-Loeffler self-assigned this Mar 11, 2017
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

No branches or pull requests

1 participant