diff --git a/nselib/url.lua b/nselib/url.lua index 96a39f39d..513aebc26 100644 --- a/nselib/url.lua +++ b/nselib/url.lua @@ -1,6 +1,20 @@ --- -- URI parsing, composition, and relative URL resolution. -- +-- A URL is represented as a table with the following entries: +-- * scheme +-- * fragment +-- * query +-- * params +-- * authority +-- * userinfo +-- * path +-- * password +-- These correspond to these parts of a URL (some may be nil): +-- +-- scheme://userinfo@password:authority:port/path;params?query#fragment +-- +-- -- @author Diego Nehab -- @author Eddie Bell