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

Store parsed headers, e.g. content length #5

Open
CrowdHailer opened this issue Apr 22, 2020 · 1 comment
Open

Store parsed headers, e.g. content length #5

CrowdHailer opened this issue Apr 22, 2020 · 1 comment
Labels
question Further information is requested Suggestion PR's will be accepted but not on the Roadmap

Comments

@CrowdHailer
Copy link
Contributor

It's only a valid content-length if correctly parses as an integer. Is there a way to save this fact in the request type.

@CrowdHailer
Copy link
Contributor Author

CrowdHailer commented Apr 28, 2020

https://tools.ietf.org/html/rfc2616 defines general headers request/response headers and entity headers. extension headers are ones that are not specified in the spec. It could be possible to specify an enum of headers than includes entity header for unknown headers

@CrowdHailer CrowdHailer added Suggestion PR's will be accepted but not on the Roadmap question Further information is requested labels May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested Suggestion PR's will be accepted but not on the Roadmap
Development

No branches or pull requests

1 participant