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

Parser must replace obs-fold with SP #58

Open
cmazakas opened this issue Jan 18, 2024 · 0 comments
Open

Parser must replace obs-fold with SP #58

cmazakas opened this issue Jan 18, 2024 · 0 comments

Comments

@cmazakas
Copy link
Collaborator

cmazakas commented Jan 18, 2024

https://datatracker.ietf.org/doc/html/rfc9112#section-5.2

rfc9112 states:

A server that receives an obs-fold in a request message that is not within a "message/http" container MUST either reject the message by sending a 400 (Bad Request), preferably with a representation explaining that obsolete line folding is unacceptable, or replace each received obs-fold with one or more SP octets prior to interpreting the field value or forwarding the message downstream.

Our parser must adhere to this. Our implementation will opt into replacing the characters with a SP.

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