summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2022-05-04 07:16:11 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2022-05-04 07:16:11 (GMT)
commita3843c65c1f6da9c1b2c7194cd9330f7ba14b371 (patch)
tree96e056807cdd50a5ee1801e7b27d4d5c841af568
parentb65a7b7a4c0158ebe20ac113a3e65ad1d331a397 (diff)
parent08515e32c84bb536f017ca02e2ae1a8934d67ba0 (diff)
downloadtcl-a3843c65c1f6da9c1b2c7194cd9330f7ba14b371.zip
tcl-a3843c65c1f6da9c1b2c7194cd9330f7ba14b371.tar.gz
tcl-a3843c65c1f6da9c1b2c7194cd9330f7ba14b371.tar.bz2
http: tolerant again invalid reply header "content-encoding: UTF-8". Ticket [8eb64b1520]
-rw-r--r--library/http/http.tcl6
1 files changed, 5 insertions, 1 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index 6f85e99..549f98b 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -3575,8 +3575,12 @@ proc http::ContentEncoding {token} {
gzip - x-gzip { lappend r gunzip }
compress - x-compress { lappend r decompress }
identity {}
+ br {
+ return -code error\
+ "content-encoding \"br\" not implemented"
+ }
default {
- return -code error "unsupported content-encoding \"$coding\""
+ Log "unknown content-encoding \"$coding\" ignored"
}
}
}