requests / toolbelt

A toolbelt of useful classes and functions to be used with python-requests
https://toolbelt.readthedocs.org
Other
999 stars 186 forks source link

handle Host header that includes port #289

Open dsimmsatsquare opened 4 years ago

dsimmsatsquare commented 4 years ago

Host headers can include the port. We should not include them when setting assert_hostname.

Closes #288