aboutsummaryrefslogtreecommitdiff
path: root/doc/url.html
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2005-02-08 10:01:01 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2005-02-08 10:01:01 +0000
commit8d4e240f6ae50d9b22ddc44f5e207018935da907 (patch)
treed8ca9a51dc35534592f700e42740feac20242ede /doc/url.html
parent5d32848674b723521e87836eafa24f5ae8f80a89 (diff)
downloadluasocket-8d4e240f6ae50d9b22ddc44f5e207018935da907.tar.gz
luasocket-8d4e240f6ae50d9b22ddc44f5e207018935da907.tar.bz2
luasocket-8d4e240f6ae50d9b22ddc44f5e207018935da907.zip
Forward server working on Mac OS X...
Diffstat (limited to 'doc/url.html')
-rw-r--r--doc/url.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/url.html b/doc/url.html
index 56e1ef5..ac84d24 100644
--- a/doc/url.html
+++ b/doc/url.html
@@ -52,7 +52,7 @@ To obtain the <tt>url</tt> namespace, run:
52 52
53<pre class=example> 53<pre class=example>
54-- loads the URL module 54-- loads the URL module
55local url = require("url") 55local url = require("socket.url")
56</pre> 56</pre>
57 57
58<p> 58<p>
@@ -193,7 +193,7 @@ The function returns the encoded string.
193 193
194<pre class=example> 194<pre class=example>
195-- load url module 195-- load url module
196url = require("url") 196url = require("socket.url")
197 197
198code = url.escape("/#?;") 198code = url.escape("/#?;")
199-- code = "%2f%23%3f%3b" 199-- code = "%2f%23%3f%3b"
@@ -239,7 +239,7 @@ parsed_url = {<br>
239 239
240<pre class=example> 240<pre class=example>
241-- load url module 241-- load url module
242url = require("url") 242url = require("socket.url")
243 243
244parsed_url = url.parse("http://www.example.com/cgilua/index.lua?a=2#there") 244parsed_url = url.parse("http://www.example.com/cgilua/index.lua?a=2#there")
245-- parsed_url = { 245-- parsed_url = {