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

Can the examples/http-server handle messages with a body in a POST request? #54

Open
sago35 opened this issue Sep 24, 2024 · 1 comment

Comments

@sago35
Copy link

sago35 commented Sep 24, 2024

Is it possible to read more from the conn?

@soypat
Copy link
Owner

soypat commented Sep 24, 2024

I believe it should be possible- the bufio.Reader used will point to the start of the POST request data if I am not mistaken. If that is not the case then httpx could be improved to not read over the end of the request header

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

2 participants