-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Server HTTP Method parsing error #652
Comments
I imagine this occurs because the string |
That seems to be correct. I am sending "{}" in the POST body |
Yep, just browsed the code, this is the case. See #309 |
Was able to fix this by making sure the request stream was read completely, closing as a duplicate of #309 |
I was able to reproduce an error where an "OPTIONS" request was parsed as "Extension("{}"OPTIONS)"
If you run this code, and access the server from a browser console (something that will trigger a CORS pre-flight OPTIONS request), you will notice the first request is fine, but every other request is parsed incorrectly.
This is the output I get with 5 post requests:
I checked the HTTP request using Wireshark, and on the wire each request is identical.
The text was updated successfully, but these errors were encountered: