summaryrefslogtreecommitdiffstats
path: root/tests/http.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-10-27 08:32:38 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-10-27 08:32:38 (GMT)
commit03ed211908f92573618b54bcd46c162367b1d13d (patch)
treefef844d0c1b2f406a9b51dd91e5f45bba8b86d1a /tests/http.test
parentab8249dfc3c847de69ae379bb7849bdb7346db40 (diff)
parent2fb0507a00743b52c4e5d679639bfb6cbc8b69b6 (diff)
downloadtcl-03ed211908f92573618b54bcd46c162367b1d13d.zip
tcl-03ed211908f92573618b54bcd46c162367b1d13d.tar.gz
tcl-03ed211908f92573618b54bcd46c162367b1d13d.tar.bz2
merge trunk
Diffstat (limited to 'tests/http.test')
-rw-r--r--tests/http.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/http.test b/tests/http.test
index 7d439b1..a52cfb1 100644
--- a/tests/http.test
+++ b/tests/http.test
@@ -119,7 +119,7 @@ test http-3.2 {http::geturl} -returnCodes error -body {
http::geturl http:junk
} -result {Unsupported URL: http:junk}
set url //[info hostname]:$port
-set badurl //[info hostname]:6666
+set badurl //[info hostname]:[expr $port+1]
test http-3.3 {http::geturl} -body {
set token [http::geturl $url]
http::data $token
@@ -131,7 +131,7 @@ test http-3.3 {http::geturl} -body {
</body></html>"
set tail /a/b/c
set url //[info hostname]:$port/a/b/c
-set fullurl http://user:pass@[info hostname]:$port/a/b/c
+set fullurl HTTP://user:pass@[info hostname]:$port/a/b/c
set binurl //[info hostname]:$port/binary
set posturl //[info hostname]:$port/post
set badposturl //[info hostname]:$port/droppost