<i>treat application/xml as text</i> status still Open with 4 other changes
by
.
D 2016-09-25T16:24:19.076
J icomment My\scurrent\sconclusion\sis\sthat\sthe\shttp\spackage\sshould\sdefault\sto\sutf-8\swhen\sdealing\swith\sXML\scontent.\r\n\r\nHere's\sa\snew\sversion\sof\sthe\spatch.\r\n\r\nIndex:\slibrary/http/http.tcl\r\n==================================================================\r\n---\slibrary/http/http.tcl\r\n+++\slibrary/http/http.tcl\r\n@@\s-1046,7\s+1046,9\s@@\r\n\s\s\s\s\s\s\s\s\s\s\s\s#\sWe\shave\sto\suse\sbinary\stranslation\sto\scount\sbytes\sproperly.\r\n\s\s\s\s\s\s\s\s\s\s\s\sfconfigure\s$sock\s-translation\sbinary\r\n\s\r\n-\s\s\s\s\s\s\s\s\s\s\sif\s{\r\n+\s\s\s\s\s\s\s\s\s\s\sif\s{[regexp\s{application/(.*\\+)?xml}\s$state(type)]}\s{\r\n+\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sset\sstate(charset)\sutf-8\r\n+\s\s\s\s\s\s\s\s\s\s\s}\selseif\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s$state(-binary)\s||\s![string\smatch\s-nocase\stext*\s$state(type)]\r\n\s\s\s\s\s\s\s\s\s\s\s\s}\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s#\sTurn\soff\sconversions\sfor\snon-text\sdata
J login gahr
J mimetype text/plain
J username gahr
K 838e99a76dd54f1961b8b5c4bdb3da114bf5b6f8
U gahr
Z 8aaf2970e517009686af180a38463ba0