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 cd41c0d..3b7a8b1 100644 --- a/doc/http.html +++ b/doc/http.html | |||
| @@ -112,12 +112,15 @@ the HTTP module: | |||
| 112 | </p> | 112 | </p> |
| 113 | 113 | ||
| 114 | <ul> | 114 | <ul> |
| 115 | <li> <tt>PORT</tt>: default port used for connections; | 115 | <li> <tt>PROXY</tt>: default proxy used for connections; |
| 116 | <li> <tt>PROXY</tt>: default proxy used for connections; | ||
| 117 | <li> <tt>TIMEOUT</tt>: sets the timeout for all I/O operations; | 116 | <li> <tt>TIMEOUT</tt>: sets the timeout for all I/O operations; |
| 118 | <li> <tt>USERAGENT</tt>: default user agent reported to server. | 117 | <li> <tt>USERAGENT</tt>: default user agent reported to server. |
| 119 | </ul> | 118 | </ul> |
| 120 | 119 | ||
| 120 | <p class=note id="post"> | ||
| 121 | Note: These constants are global. Changing them will also | ||
| 122 | change the behavior other code that might be using LuaSocket. | ||
| 123 | </p> | ||
| 121 | 124 | ||
| 122 | <!-- http.request ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 125 | <!-- http.request ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
| 123 | 126 | ||
