httpx fails on IDN domains with emoji #3705
Unanswered
mimi89999
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
httpx.get("https://xn--8h8haaaa.ws")raises idna.core.InvalidCodepoint whilerequests.get()works fine (returns 525).httpx version: 0.28.1
Python: 3.13
I'm already providing a punycode-encoded address, so I don't understand why there's an IDN decoding problem.
Beta Was this translation helpful? Give feedback.
All reactions