We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28b7d81 commit 5be70a1Copy full SHA for 5be70a1
tests/test_http_parser.py
@@ -865,7 +865,9 @@ def test_http_request_parser_utf8_request_line(parser: Any) -> None:
865
assert msg.compression is None
866
assert not msg.upgrade
867
assert not msg.chunked
868
- assert msg.url.path == URL("/P%C3%BCnktchen\udca0\udcef\udcb7").path
+ # python HTTP parser depends on Cython and CPython URL to match
869
+ # .. but yarl.URL("/abs") is not equal to URL.build(path="/abs"), see #6409
870
+ assert msg.url == URL.build(path="/Pünktchen\udca0\udcef\udcb7", encoded=True)
871
872
873
def test_http_request_parser_utf8(parser: Any) -> None:
0 commit comments