theelous3 / asks

Async requests-like httplib for python.
MIT License
509 stars 63 forks source link

Ensure that ipv6 addresses are handled correctly. #160

Closed ehaas closed 4 years ago

ehaas commented 4 years ago

Use hostname and port from the parsed url instead of splitting host on :, since that is a valid character in an ipv6 address.

carlbordum commented 4 years ago

This looks good!