summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-11 19:08:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-11 19:08:11 (GMT)
commit9beeb77bd585a1ea73c66d0c4161770fa57f9a98 (patch)
treed62db7dde07790eb203e288a8f0b63cee9dd5362 /tests
parentab4dbed807fd9e13e45e34f6432ea902ff94bb0e (diff)
parent6d44e5c0f77c03a6daaf47db88c752018d980055 (diff)
downloadtcl-9beeb77bd585a1ea73c66d0c4161770fa57f9a98.zip
tcl-9beeb77bd585a1ea73c66d0c4161770fa57f9a98.tar.gz
tcl-9beeb77bd585a1ea73c66d0c4161770fa57f9a98.tar.bz2
Merge 8.6
Diffstat (limited to 'tests')
-rw-r--r--tests/http.test21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/http.test b/tests/http.test
index a34b168..d59d588 100644
--- a/tests/http.test
+++ b/tests/http.test
@@ -114,6 +114,27 @@ test http-1.6 {http::config} -setup {
test http-2.1 {http::reset} {
catch {http::reset http#1}
} 0
+test http-2.2 {http::CharsetToEncoding} {
+ http::CharsetToEncoding iso-8859-11
+} iso8859-11
+test http-2.3 {http::CharsetToEncoding} {
+ http::CharsetToEncoding iso-2022-kr
+} iso2022-kr
+test http-2.4 {http::CharsetToEncoding} {
+ http::CharsetToEncoding shift-jis
+} shiftjis
+test http-2.5 {http::CharsetToEncoding} {
+ http::CharsetToEncoding windows-437
+} cp437
+test http-2.6 {http::CharsetToEncoding} {
+ http::CharsetToEncoding latin5
+} iso8859-9
+test http-2.7 {http::CharsetToEncoding} {
+ http::CharsetToEncoding latin1
+} iso8859-1
+test http-2.8 {http::CharsetToEncoding} {
+ http::CharsetToEncoding latin4
+} binary
test http-3.1 {http::geturl} -returnCodes error -body {
http::geturl -bogus flag