We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Python 3.6 http-parser 0.8.3
from http_parser.http import HttpStream, HTTP_REQUEST from io import BytesIO stream = HttpStream(BytesIO(b"GET /admin HTTP/1.1\r\n\r\n"), kind=HTTP_REQUEST)
This will raise AssertError
assert stream.method() == "GET" # DELETE assert stream.url() == "/admin"
This is correct
assert stream.url() == "/admin" assert stream.method() == "GET"
The text was updated successfully, but these errors were encountered:
I was able to confirm this issue on Python3.7 on MacOS.
Sorry, something went wrong.
related to #70
This is still happening, but only for the C parser. If i switch to the python fallback it works.
from http_parser.pyparser import HttpParser
No branches or pull requests
Python 3.6
http-parser 0.8.3
This will raise AssertError
This is correct
The text was updated successfully, but these errors were encountered: