Manual of Lua-URI: http
lua-uri-http - HTTP URI support for Lua URI library
uri.https are used for URIs with the
https schemes respectively.
uri.http inherits from the generic
uri class, and
uri.https inherits from
An HTTP or HTTPS URI containing any userinfo part is considered to be invalid. An empty path is normalized to '/', since browsers usually do that, and an empty path cannot be used in an HTTP GET request.
The default port for the
http scheme is 80, and for
There are no extra methods defined for telnet URIs, only those described in lua-uri(3).
As far as I can tell there is no up to date specification of the syntax of HTTP URIs, so this class is based on RFC 1738 section 3.3 and RFC 2616 section 3.2.2.