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

The line after Content-Type is not exactly body in RFC-2616 #51

Open
25077667 opened this issue Aug 13, 2022 · 0 comments
Open

The line after Content-Type is not exactly body in RFC-2616 #51

25077667 opened this issue Aug 13, 2022 · 0 comments

Comments

@25077667
Copy link
Contributor

bs = kvFindList(request->headers, "Content-Type");

RFC-2616 section 4.1 says that the HTTP header is dynamic length until an empty newline with "".
In other words, this is not a correct way to fetch the user posted data in HTTP body.

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