httpx fails on IDN domains with emoji #3705
Replies: 1 comment
Why this happensThis issue stems from a conflict between IDNA 2008 standards compliance and 1. IDNA 2008 strictly disallows Emoji in domain names
In contrast, 2. Why
|
Why this happensThis issue stems from a conflict between IDNA 2008 standards compliance and 1. IDNA 2008 strictly disallows Emoji in domain names
In contrast, 2. Why
|
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.
All reactions