aboutsummaryrefslogtreecommitdiff
path: root/doc/mime.html
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-16 20:41:03 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-16 20:41:03 +0000
commitba2f0b8c6ba7fb3a26fa6d9676ee1aefe6d873cc (patch)
tree1a49ac4a3c74b9d3bf8e4220d4bf9c48641f3dbc /doc/mime.html
parent0a4c1534f39511894728da193ab8225ad6022de9 (diff)
downloadluasocket-ba2f0b8c6ba7fb3a26fa6d9676ee1aefe6d873cc.tar.gz
luasocket-ba2f0b8c6ba7fb3a26fa6d9676ee1aefe6d873cc.tar.bz2
luasocket-ba2f0b8c6ba7fb3a26fa6d9676ee1aefe6d873cc.zip
Fine tuning the manual...
Diffstat (limited to 'doc/mime.html')
-rw-r--r--doc/mime.html19
1 files changed, 3 insertions, 16 deletions
diff --git a/doc/mime.html b/doc/mime.html
index 791861e..e7211fa 100644
--- a/doc/mime.html
+++ b/doc/mime.html
@@ -55,7 +55,8 @@ follows the ideas presented in
55LTN012, Filters sources and sinks</a>. 55LTN012, Filters sources and sinks</a>.
56</p> 56</p>
57 57
58<p class=description> To obtain the <tt>mime</tt> namespace, run: 58<p>
59To obtain the <tt>mime</tt> namespace, run:
59</p> 60</p>
60 61
61<pre class=example> 62<pre class=example>
@@ -109,10 +110,6 @@ Returns a filter that decodes data from a given transfer content
109encoding. 110encoding.
110</p> 111</p>
111 112
112<p class=return>
113The function returns the created filter.
114</p>
115
116<!-- encode +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 113<!-- encode +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
117 114
118<p class=name id="encode"> 115<p class=name id="encode">
@@ -131,10 +128,6 @@ textual or binary, by passing the <tt>mode</tt> strings "<tt>text</tt>" or
131"<tt>binary</tt>". <tt>Mode</tt> defaults to "<tt>text</tt>". 128"<tt>binary</tt>". <tt>Mode</tt> defaults to "<tt>text</tt>".
132</p> 129</p>
133 130
134<p class=return>
135The function returns the created filter.
136</p>
137
138<p class=note> 131<p class=note>
139Although both transfer content encodings specify a limit for the line 132Although both transfer content encodings specify a limit for the line
140length, the encoding filters do <em>not</em> break text into lines (for 133length, the encoding filters do <em>not</em> break text into lines (for
@@ -186,10 +179,6 @@ not to break lines in the middle of an escaped character. In that case, the
186line length is fixed at 76. 179line length is fixed at 76.
187</p> 180</p>
188 181
189<p class=return>
190The function returns the created filter.
191</p>
192
193<p class=note> 182<p class=note>
194For example, to create an encoding filter for the Quoted-Printable transfer content encoding of text data, do the following: 183For example, to create an encoding filter for the Quoted-Printable transfer content encoding of text data, do the following:
195</p> 184</p>
@@ -260,9 +249,7 @@ the context is returned after each new chunk.
260ASCII value of the last character of the previous chunk, if it was a 249ASCII value of the last character of the previous chunk, if it was a
261candidate for line break, or 0 otherwise. 250candidate for line break, or 0 otherwise.
262<tt>B</tt> is the same as <tt>C</tt>, but for the current 251<tt>B</tt> is the same as <tt>C</tt>, but for the current
263chunk. If <tt>D</tt> is <tt><b>nil</b></tt>, <tt>A</tt> includes a 252chunk. <tt>Marker</tt> gives the new end-of-line marker and defaults to CRLF.
264new end-of-line marker, depending on <tt>C</tt>.
265<tt>Marker</tt> gives the new end-of-line marker and defaults to CRLF.
266</p> 253</p>
267 254
268<pre class=example> 255<pre class=example>