summaryrefslogtreecommitdiffstats
path: root/tests/http.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-25 12:57:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-25 12:57:19 (GMT)
commit216ade8493af2a06801b929dd24e7b84b06cdab9 (patch)
tree629973d1072241611add686cc39ac3155a8aae7a /tests/http.test
parent383f020ee8874e700a2252b7434a4da47c241510 (diff)
downloadtcl-216ade8493af2a06801b929dd24e7b84b06cdab9.zip
tcl-216ade8493af2a06801b929dd24e7b84b06cdab9.tar.gz
tcl-216ade8493af2a06801b929dd24e7b84b06cdab9.tar.bz2
Fix [3eb2ec1449]: Allow upper case scheme names in url. http -> 2.7.13
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 c974990..81e16a1 100644
--- a/tests/http.test
+++ b/tests/http.test
@@ -120,7 +120,7 @@ test http-3.2 {http::geturl} {
set err
} {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} {
set token [http::geturl $url]
http::data $token
@@ -130,7 +130,7 @@ test http-3.3 {http::geturl} {
</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