cpython/Lib/urllib
Victor Stinner 536c1f1246 bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2289)
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:37:24 +02:00
..
__init__.py
error.py [3.6] Remove superfluous comment in urllib.error. (GH-1076) (GH-1101) 2017-04-12 20:45:54 -07:00
parse.py bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2289) 2017-06-20 15:37:24 +02:00
request.py Remove OSError related comment in urllib.request. (#1072) 2017-04-09 20:37:44 -07:00
response.py Issue #23865: close() methods in multiple modules now are idempotent and more 2015-04-10 13:24:41 +03:00
robotparser.py Issue #25400: RobotFileParser now correctly returns default values for crawl_delay and request_rate 2016-09-18 20:17:58 +03:00