-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
>>> import httpx
>>> httpx.URL("https://[email protected]:[email protected]")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/sethmlarson/Desktop/http3/httpx/models.py", line 112, in __init__
raise InvalidURL("No host included in URL.")
httpx.exceptions.InvalidURL: No host included in URL.This is a common use-case for proxies and websites using email addresses as usernames for authentication.
This might require a change in rfc3986 or the way we parse URLs. :)
lovelydinosaur
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working