diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/httptest.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/httptest.lua b/test/httptest.lua index 71021a4..8862ceb 100644 --- a/test/httptest.lua +++ b/test/httptest.lua | |||
| @@ -23,7 +23,7 @@ http.TIMEOUT = 10 | |||
| 23 | local t = socket.gettime() | 23 | local t = socket.gettime() |
| 24 | 24 | ||
| 25 | host = host or "diego.student.princeton.edu" | 25 | host = host or "diego.student.princeton.edu" |
| 26 | proxy = proxy or "http://localhost:3128" | 26 | proxy = proxy or "http://dell-diego:3128" |
| 27 | prefix = prefix or "/luasocket-test" | 27 | prefix = prefix or "/luasocket-test" |
| 28 | cgiprefix = cgiprefix or "/luasocket-test-cgi" | 28 | cgiprefix = cgiprefix or "/luasocket-test-cgi" |
| 29 | index_file = "test/index.html" | 29 | index_file = "test/index.html" |
| @@ -399,7 +399,6 @@ print("ok") | |||
| 399 | 399 | ||
| 400 | ------------------------------------------------------------------------ | 400 | ------------------------------------------------------------------------ |
| 401 | io.write("testing HEAD method: ") | 401 | io.write("testing HEAD method: ") |
| 402 | http.TIMEOUT = 1 | ||
| 403 | local r, c, h = http.request { | 402 | local r, c, h = http.request { |
| 404 | method = "HEAD", | 403 | method = "HEAD", |
| 405 | url = "http://www.cs.princeton.edu/~diego/" | 404 | url = "http://www.cs.princeton.edu/~diego/" |
