diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-16 20:41:03 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-16 20:41:03 +0000 |
commit | ba2f0b8c6ba7fb3a26fa6d9676ee1aefe6d873cc (patch) | |
tree | 1a49ac4a3c74b9d3bf8e4220d4bf9c48641f3dbc /doc/mime.html | |
parent | 0a4c1534f39511894728da193ab8225ad6022de9 (diff) | |
download | luasocket-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.html | 19 |
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 | |||
55 | LTN012, Filters sources and sinks</a>. | 55 | LTN012, 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> |
59 | To 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 | |||
109 | encoding. | 110 | encoding. |
110 | </p> | 111 | </p> |
111 | 112 | ||
112 | <p class=return> | ||
113 | The 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> | ||
135 | The function returns the created filter. | ||
136 | </p> | ||
137 | |||
138 | <p class=note> | 131 | <p class=note> |
139 | Although both transfer content encodings specify a limit for the line | 132 | Although both transfer content encodings specify a limit for the line |
140 | length, the encoding filters do <em>not</em> break text into lines (for | 133 | length, 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 | |||
186 | line length is fixed at 76. | 179 | line length is fixed at 76. |
187 | </p> | 180 | </p> |
188 | 181 | ||
189 | <p class=return> | ||
190 | The function returns the created filter. | ||
191 | </p> | ||
192 | |||
193 | <p class=note> | 182 | <p class=note> |
194 | For example, to create an encoding filter for the Quoted-Printable transfer content encoding of text data, do the following: | 183 | For 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. | |||
260 | ASCII value of the last character of the previous chunk, if it was a | 249 | ASCII value of the last character of the previous chunk, if it was a |
261 | candidate for line break, or 0 otherwise. | 250 | candidate 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 |
263 | chunk. If <tt>D</tt> is <tt><b>nil</b></tt>, <tt>A</tt> includes a | 252 | chunk. <tt>Marker</tt> gives the new end-of-line marker and defaults to CRLF. |
264 | new 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> |