- From: Cyril Auburtin <notifications@github.com>
- Date: Fri, 29 Jun 2018 06:05:25 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 29 June 2018 13:05:46 UTC
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