diff options
Diffstat (limited to 'doc/http.html')
-rw-r--r-- | doc/http.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/http.html b/doc/http.html index af58571..27942b1 100644 --- a/doc/http.html +++ b/doc/http.html | |||
@@ -131,7 +131,8 @@ http.<b>request{</b><br> | |||
131 | [source = <i>LTN12 source</i>],<br> | 131 | [source = <i>LTN12 source</i>],<br> |
132 | [step = <i>LTN12 pump step</i>,]<br> | 132 | [step = <i>LTN12 pump step</i>,]<br> |
133 | [proxy = <i>string</i>,]<br> | 133 | [proxy = <i>string</i>,]<br> |
134 | [redirect = <i>boolean</i>]<br> | 134 | [redirect = <i>boolean</i>,]<br> |
135 | [create = <i>function</i>]<br> | ||
135 | <b>}</b> | 136 | <b>}</b> |
136 | </p> | 137 | </p> |
137 | 138 | ||
@@ -178,7 +179,9 @@ pump step function used to move data. | |||
178 | Defaults to the LTN12 <tt>pump.step</tt> function. | 179 | Defaults to the LTN12 <tt>pump.step</tt> function. |
179 | <li><tt>proxy</tt>: The URL of a proxy server to use. Defaults to no proxy; | 180 | <li><tt>proxy</tt>: The URL of a proxy server to use. Defaults to no proxy; |
180 | <li><tt>redirect</tt>: Set to <tt><b>false</b></tt> to prevent the | 181 | <li><tt>redirect</tt>: Set to <tt><b>false</b></tt> to prevent the |
181 | function from automatically following 301 or 302 server redirect messages. | 182 | function from automatically following 301 or 302 server redirect messages; |
183 | <li><tt>accept</tt>: An optional function to be used instead of | ||
184 | <a href=tcp.html#socket.tcp><tt>socket.tcp</tt></a> when the communications socket is created. | ||
182 | </ul> | 185 | </ul> |
183 | 186 | ||
184 | <p class=return> | 187 | <p class=return> |