In the Python Library documentation, in section "21.6. urllib.request — Extensible library for opening URLs", in the description of the urllib.request.urlopen() function it is writen:
---------
[…]
For http and https urls, this function returns a http.client.HTTPResponse object which has the following HTTPResponse Objects methods.
For ftp, file, and data urls and requests explicity handled by legacy […]
---------
The first sentence seemed to imply that something is supposed to be specified if I understand correctly. Is it me missing something ? |