diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2014-02-08 15:03:35 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2014-02-08 15:03:35 (GMT) |
commit | 35c72808bf91794671a1b947e665c2a200ddd61d (patch) | |
tree | 1df97bf2fa4569b61e6964b4ae9bdf81a3c07670 /tests/http.test | |
parent | 859eff84db9b495f0a1b3f31891771cf97ef84b0 (diff) | |
parent | b6ae0212a194c6c55a0c05a0f2194213da433583 (diff) | |
download | tcl-35c72808bf91794671a1b947e665c2a200ddd61d.zip tcl-35c72808bf91794671a1b947e665c2a200ddd61d.tar.gz tcl-35c72808bf91794671a1b947e665c2a200ddd61d.tar.bz2 |
merge trunk
Diffstat (limited to 'tests/http.test')
-rw-r--r-- | tests/http.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/http.test b/tests/http.test index faf3abc..45dd393 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 |