summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2019-11-20 15:58:51 (GMT)
committerdgp <dgp@users.sourceforge.net>2019-11-20 15:58:51 (GMT)
commit8afc3921290bdc520b52a80ef234c37766412ead (patch)
tree8918f0994c9bf37c25446b1dbc1b20ff89ecd837 /library
parentbab811ce01503b56512aedf78871afa70fbca473 (diff)
parentc53c54cec414ce179376da39c8fa89d76c049ed4 (diff)
downloadtcl-8afc3921290bdc520b52a80ef234c37766412ead.zip
tcl-8afc3921290bdc520b52a80ef234c37766412ead.tar.gz
tcl-8afc3921290bdc520b52a80ef234c37766412ead.tar.bz2
Merge 8.6; update changes.
Diffstat (limited to 'library')
-rw-r--r--library/http/http.tcl4
-rw-r--r--library/http/pkgIndex.tcl2
2 files changed, 3 insertions, 3 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index f82bced..0aa283f 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -11,7 +11,7 @@
package require Tcl 8.6-
# Keep this in sync with pkgIndex.tcl and with the install directories in
# Makefiles
-package provide http 2.9.0
+package provide http 2.9.1
namespace eval http {
# Allow resourcing to not clobber existing data
@@ -2978,7 +2978,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
}
}
diff --git a/library/http/pkgIndex.tcl b/library/http/pkgIndex.tcl
index 4f74635..f9f1176 100644
--- a/library/http/pkgIndex.tcl
+++ b/library/http/pkgIndex.tcl
@@ -1,2 +1,2 @@
if {![package vsatisfies [package provide Tcl] 8.6-]} {return}
-package ifneeded http 2.9.0 [list tclPkgSetup $dir http 2.9.0 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister ::http::mapReply}}}]
+package ifneeded http 2.9.1 [list tclPkgSetup $dir http 2.9.1 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister ::http::mapReply}}}]