diff options
Diffstat (limited to 'docs/http.html')
| -rw-r--r-- | docs/http.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/http.html b/docs/http.html index c6423ba..316cd2e 100644 --- a/docs/http.html +++ b/docs/http.html | |||
| @@ -114,7 +114,11 @@ the HTTP module: | |||
| 114 | <ul> | 114 | <ul> |
| 115 | <li> <tt>PROXY</tt>: default proxy used for connections;</li> | 115 | <li> <tt>PROXY</tt>: default proxy used for connections;</li> |
| 116 | <li> <tt>TIMEOUT</tt>: sets the timeout for all I/O operations;</li> | 116 | <li> <tt>TIMEOUT</tt>: sets the timeout for all I/O operations;</li> |
| 117 | <li> <tt>USERAGENT</tt>: default user agent reported to server.</li> | 117 | <li> <tt>USERAGENT</tt>: default user agent reported to server;</li> |
| 118 | <li> <tt>MAXHEADERLINE</tt>: maximum length, in bytes, of a single response | ||
| 119 | header line. Defaults to 8192;</li> | ||
| 120 | <li> <tt>MAXHEADERSIZE</tt>: maximum total size, in bytes, of all response | ||
| 121 | header lines combined. Defaults to 65536.</li> | ||
| 118 | </ul> | 122 | </ul> |
| 119 | 123 | ||
| 120 | <p class="note"> | 124 | <p class="note"> |
| @@ -183,7 +187,8 @@ pump step function used to move data. | |||
| 183 | Defaults to the LTN12 <tt>pump.step</tt> function.</li> | 187 | Defaults to the LTN12 <tt>pump.step</tt> function.</li> |
| 184 | <li><tt>proxy</tt>: The URL of a proxy server to use. Defaults to no proxy;</li> | 188 | <li><tt>proxy</tt>: The URL of a proxy server to use. Defaults to no proxy;</li> |
| 185 | <li><tt>redirect</tt>: Set to <tt><b>false</b></tt> to prevent the | 189 | <li><tt>redirect</tt>: Set to <tt><b>false</b></tt> to prevent the |
| 186 | function from automatically following 301 or 302 server redirect messages;</li> | 190 | function from automatically following 301, 302, 303, 307 or 308 server |
| 191 | redirect messages;</li> | ||
| 187 | <li><tt>create</tt>: An optional function to be used instead of | 192 | <li><tt>create</tt>: An optional function to be used instead of |
| 188 | <a href="tcp.html#socket.tcp"><tt>socket.tcp</tt></a> when the communications socket is created.</li> | 193 | <a href="tcp.html#socket.tcp"><tt>socket.tcp</tt></a> when the communications socket is created.</li> |
| 189 | <li><tt>maxredirects</tt>: An optional number specifying the maximum number of | 194 | <li><tt>maxredirects</tt>: An optional number specifying the maximum number of |
