diff options
author | oehhar <harald.oehlmann@elmicron.de> | 2020-09-29 16:16:27 (GMT) |
---|---|---|
committer | oehhar <harald.oehlmann@elmicron.de> | 2020-09-29 16:16:27 (GMT) |
commit | accd2800ecceb527ff9315ec011511b30f32a980 (patch) | |
tree | 3af3eebe73b99f045a00398510b284cd6835b02c /tests | |
parent | 38b30033c88080b592fdbc043f295bc9b4e97b5d (diff) | |
parent | 2b01204e41b60fe88eae701bd56dc28b0f33926e (diff) | |
download | tcl-accd2800ecceb527ff9315ec011511b30f32a980.zip tcl-accd2800ecceb527ff9315ec011511b30f32a980.tar.gz tcl-accd2800ecceb527ff9315ec011511b30f32a980.tar.bz2 |
Ticket [0063cbcada]: check http::geturl -headers parameter to be a dict
Diffstat (limited to 'tests')
-rw-r--r-- | tests/http.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/http.test b/tests/http.test index 636a651..15bc37f 100644 --- a/tests/http.test +++ b/tests/http.test @@ -448,6 +448,9 @@ test http-3.33 {http::geturl application/xml is text} -body { } -cleanup { catch { http::cleanup $token } } -result {test 4660 /test} +test http-3.34 {http::geturl -headers not a dict} -returnCodes error -body { + http::geturl http://test/t -headers NoDict +} -result {Bad value for -headers (NoDict), must be list} test http-4.1 {http::Event} -body { set token [http::geturl $url -keepalive 0] |