cpython/Lib/urllib
Victor Stinner 4899d847ed bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2290)
The current regex based splitting produces a wrong result. For example::

  http://abc#@def

Web browsers parse that URL as ``http://abc/#@def``, that is, the host
is ``abc``, the path is ``/``, and the fragment is ``#@def``.
(cherry picked from commit 90e01e50ef)
2017-06-20 15:33:35 +02:00
..
__init__.py
error.py [3.5] Remove superfluous comment in urllib.error. (GH-1076) (GH-1102) 2017-04-12 20:46:07 -07:00
parse.py bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2290) 2017-06-20 15:33:35 +02:00
request.py Remove OSError related comment in urllib.request. (#1071) 2017-04-09 20:38:00 -07:00
response.py
robotparser.py Fix typos in comments, documentation and test method names 2016-05-08 13:48:10 +00:00