http
and https
The http
scheme refers to the Hypertext Transfer Protocol. The
url
library supports HTTP version 1.1, specified in RFC 2616.
Its default port is 80.
The https
scheme is a secure version of http
, with
transmission via SSL. It is defined in RFC 2069, and its default port
is 443. When using https
, the url
library performs SSL
encryption via the ssl
library, by forcing the ssl
gateway method to be used. See Gateways in General.
If this option is non-nil
(the default), the url
library
honors the HTTP ‘Refresh’ header, which is used by servers to
direct clients to reload documents from the same URL or a different
one. If the value is nil
, the ‘Refresh’ header is
ignored; any other value means to ask the user on each request.