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)
commit0eb7f82a5693d837a2065a788ea14a0d07c3c716 (patch)
tree629973d1072241611add686cc39ac3155a8aae7a /tests/http.test
parent1c8937d85be2f327d881c29e203c46df34b9da08 (diff)
downloadtcl-0eb7f82a5693d837a2065a788ea14a0d07c3c716.zip
tcl-0eb7f82a5693d837a2065a788ea14a0d07c3c716.tar.gz
tcl-0eb7f82a5693d837a2065a788ea14a0d07c3c716.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