From 33fa3fae76956ebd3ed1cfd47c803a3f45ac76c6 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 5 Mar 2012 23:00:49 +0000 Subject: [PATCH] Summarize URL tables in url.lua NSEDoc. --- nselib/url.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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