mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 19:32:18 +00:00
Document ascii_host field of url.parse
This commit is contained in:
parent
1291626c1b
commit
e30340b05a
1 changed files with 6 additions and 1 deletions
|
|
@ -142,12 +142,17 @@ end
|
|||
--
|
||||
-- The leading <code>/</code> in <code>/<path></code> is considered part of
|
||||
-- <code><path></code>.
|
||||
--
|
||||
-- If the host contains non-ASCII characters, the Punycode-encoded version of
|
||||
-- the host name will be in the <code>ascii_host</code> field of the returned
|
||||
-- table.
|
||||
--
|
||||
-- @param url URL of request.
|
||||
-- @param default Table with default values for each field.
|
||||
-- @return A table with the following fields, where RFC naming conventions have
|
||||
-- been preserved:
|
||||
-- <code>scheme</code>, <code>authority</code>, <code>userinfo</code>,
|
||||
-- <code>user</code>, <code>password</code>, <code>host</code>,
|
||||
-- <code>user</code>, <code>password</code>, <code>host</code>, <code>ascii_host</code>,
|
||||
-- <code>port</code>, <code>path</code>, <code>params</code>,
|
||||
-- <code>query</code>, and <code>fragment</code>.
|
||||
-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue