diff options
author | kjnash <k.j.nash@usa.net> | 2022-10-10 15:37:23 (GMT) |
---|---|---|
committer | kjnash <k.j.nash@usa.net> | 2022-10-10 15:37:23 (GMT) |
commit | 763c581edb801f34c61cce8eadcf7d8904b3cce9 (patch) | |
tree | 934e1b3dda2c0dafe641068a03fc5f049f8efef9 /tests/http.test | |
parent | f2b3bc2aa5ebb89635fdb896e9ec4f67bbff445c (diff) | |
download | tcl-763c581edb801f34c61cce8eadcf7d8904b3cce9.zip tcl-763c581edb801f34c61cce8eadcf7d8904b3cce9.tar.gz tcl-763c581edb801f34c61cce8eadcf7d8904b3cce9.tar.bz2 |
Bugfix library/http/http.tcl for connection request header - tcllib/websocket ticket [d01de3281f]. Revise header order in 3 tests.
Diffstat (limited to 'tests/http.test')
-rw-r--r-- | tests/http.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/http.test b/tests/http.test index e88210a..1218536 100644 --- a/tests/http.test +++ b/tests/http.test @@ -409,10 +409,10 @@ test http-3.27 {http::geturl: -headers override -type} -body { http::cleanup $token } -match regexp -result {(?n)Host .* User-Agent .* -Connection close Content-Type {text/plain;charset=utf-8} Accept \*/\* Accept-Encoding .* +Connection close Content-Length 5} test http-3.28 {http::geturl: -headers override -type default} -body { set token [http::geturl $url/headers -query dummy \ @@ -422,10 +422,10 @@ test http-3.28 {http::geturl: -headers override -type default} -body { http::cleanup $token } -match regexp -result {(?n)Host .* User-Agent .* -Connection close Content-Type {text/plain;charset=utf-8} Accept \*/\* Accept-Encoding .* +Connection close Content-Length 5} test http-3.29 {http::geturl IPv6 address} -body { # We only want to see if the URL gets parsed correctly. This is @@ -462,9 +462,9 @@ test http-3.32 {http::geturl: -headers override -accept default} -body { http::cleanup $token } -match regexp -result {(?n)Host .* User-Agent .* -Connection close Accept text/plain,application/tcl-test-value Accept-Encoding .* +Connection close Content-Type application/x-www-form-urlencoded Content-Length 5} # Bug 838e99a76d |