summaryrefslogtreecommitdiffstats
path: root/library/http
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-18 09:07:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-18 09:07:20 (GMT)
commit7834acd2e42f731cb81a37176d8c8cbc371e43f0 (patch)
treeee31d07c07b91dab210de8f56935f01d958d6a06 /library/http
parent5e2a39d6265fa8f5f2931a5823910a6c6cc002ae (diff)
downloadtcl-7834acd2e42f731cb81a37176d8c8cbc371e43f0.zip
tcl-7834acd2e42f731cb81a37176d8c8cbc371e43f0.tar.gz
tcl-7834acd2e42f731cb81a37176d8c8cbc371e43f0.tar.bz2
one too much "-profile tcl8"
Diffstat (limited to 'library/http')
-rw-r--r--library/http/http.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index 4ef6c73..c0f6e5d 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -4644,7 +4644,7 @@ proc http::GuessType {token} {
if {[package vsatisfies [package provide Tcl] 9.0-]} {
set state(body) [encoding convertfrom -profile tcl8 $enc $state(body)]
} else {
- set state(body) [encoding convertfrom -profile tcl8 $enc $state(body)]
+ set state(body) [encoding convertfrom $enc $state(body)]
}
set state(body) [string map {\r\n \n \r \n} $state(body)]
set state(type) application/xml