diff options
| author | Diego Nehab <diego.nehab@gmail.com> | 2016-03-04 16:16:41 -0300 |
|---|---|---|
| committer | Diego Nehab <diego.nehab@gmail.com> | 2016-03-04 16:16:41 -0300 |
| commit | 5b4b9158799293eeaf8439d40a7845b5b0a5e125 (patch) | |
| tree | 1742149e3d2eced135ec23e16f73cd288c975190 /doc/http.html | |
| parent | 944305dc21350fd2ec32a9552d893da86894fd62 (diff) | |
| download | luasocket-5b4b9158799293eeaf8439d40a7845b5b0a5e125.tar.gz luasocket-5b4b9158799293eeaf8439d40a7845b5b0a5e125.tar.bz2 luasocket-5b4b9158799293eeaf8439d40a7845b5b0a5e125.zip | |
Remove global PORT. Fix https redirect.
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 | ||
