summaryrefslogtreecommitdiffstats
path: root/tests/http.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-09-22 10:20:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-09-22 10:20:28 (GMT)
commit63ef0e3d26d5ef38c104cb50b97e7cddb70dbba6 (patch)
treee2c9af74194387c3cb6fd2c1cfdf43ecd64878a8 /tests/http.test
parent39318d91b7024a6d9cfc78022f539534e426de74 (diff)
downloadtcl-63ef0e3d26d5ef38c104cb50b97e7cddb70dbba6.zip
tcl-63ef0e3d26d5ef38c104cb50b97e7cddb70dbba6.tar.gz
tcl-63ef0e3d26d5ef38c104cb50b97e7cddb70dbba6.tar.bz2
Update http version number, and fix some related test-cases
Diffstat (limited to 'tests/http.test')
-rw-r--r--tests/http.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/http.test b/tests/http.test
index 5a00cd5..242dceb 100644
--- a/tests/http.test
+++ b/tests/http.test
@@ -86,7 +86,7 @@ if {[catch {package present Thread}] == 0 && [file exists $httpdFile]} {
test http-1.1 {http::config} {
http::config -useragent UserAgent
http::config
-} [list -accept */* -proxyfilter http::ProxyRequired -proxyhost {} -proxyport {} -urlencoding utf-8 -useragent "UserAgent"]
+} [list -accept */* -pipeline 1 -postfresh 0 -proxyfilter http::ProxyRequired -proxyhost {} -proxyport {} -repost 0 -urlencoding utf-8 -useragent UserAgent -zip 1]
test http-1.2 {http::config} {
http::config -proxyfilter
} http::ProxyRequired
@@ -101,10 +101,10 @@ test http-1.4 {http::config} {
set x [http::config]
http::config {*}$savedconf
set x
-} {-accept */* -proxyfilter myFilter -proxyhost nowhere.come -proxyport 8080 -urlencoding iso8859-1 -useragent {Tcl Test Suite}}
+} {-accept */* -pipeline 1 -postfresh 0 -proxyfilter myFilter -proxyhost nowhere.come -proxyport 8080 -repost 0 -urlencoding iso8859-1 -useragent {Tcl Test Suite} -zip 1}
test http-1.5 {http::config} -returnCodes error -body {
http::config -proxyhost {} -junk 8080
-} -result {Unknown option -junk, must be: -accept, -proxyfilter, -proxyhost, -proxyport, -urlencoding, -useragent}
+} -result {Unknown option -junk, must be: -accept, -pipeline, -postfresh, -proxyfilter, -proxyhost, -proxyport, -repost, -urlencoding, -useragent, -zip}
test http-1.6 {http::config} -setup {
set oldenc [http::config -urlencoding]
} -body {