diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-11-18 20:22:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-11-18 20:22:32 (GMT) |
commit | 5997f60c9a9066ffd37d4ae9a3dd32dd07ace15e (patch) | |
tree | b8aae989bdbcb31e29332659c9ae94b5e9d216f8 /library/http/http.tcl | |
parent | bb1eeada78e64c97e89d7bddf99cb8dcfe845d8c (diff) | |
download | tcl-5997f60c9a9066ffd37d4ae9a3dd32dd07ace15e.zip tcl-5997f60c9a9066ffd37d4ae9a3dd32dd07ace15e.tar.gz tcl-5997f60c9a9066ffd37d4ae9a3dd32dd07ace15e.tar.bz2 |
Fix [13657a2dc3]: application/json is not a binary payload for http
Diffstat (limited to 'library/http/http.tcl')
-rw-r--r-- | library/http/http.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl index 75898c9..c1a27a4 100644 --- a/library/http/http.tcl +++ b/library/http/http.tcl @@ -1181,7 +1181,7 @@ proc http::IsBinaryContentType {type} { # and so on. if {$major eq "application"} { set minor [string trimright $minor] - if {$minor in {"xml" "xml-external-parsed-entity" "xml-dtd"}} { + if {$minor in {"json" "xml" "xml-external-parsed-entity" "xml-dtd"}} { return false } } |