Re: [whatwg/url] Multi hosts URLs (#398)

Python 'supports' it https://repl.it/@caub/python-url-1

```python
from urllib.parse import parse_qs, urlparse

u = urlparse('https://foo@server1.foo.ai:7998,server2.foo.ai:7998,server3.foo.ai:7998/data?authMechanism=X509&replicaSet=rs0&ssl=true&sslValidate=true')

print(u.hostname) # server1.foo.ai
print(u.netloc) # foo@server1.foo.ai:7998,server2.foo.ai:7998,server3.foo.ai:7998
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/398#issuecomment-401348316

Received on Friday, 29 June 2018 13:05:46 UTC