From: Peter Krefting Date: Thu, 22 May 2014 07:12:58 GMT Subject: Re: [PATCH 7/9] remote-curl: recognize text/plain with a charset parameter Message-ID: In-Reply-To: <90CE006F-EE74-40D2-8847-507E37021D84@gmail.com> Kyle J. McKay: > I think that a strict reading of RFC 2616 allows "text/plain ; charset=utf-8" > as well as "text/plain;charset=utf-8" and "text/plain; charset=utf-8". It does indeed, and I have seen servers send both variants, so they do need to be catered for. The number of servers that would actually send the charset attribute here (for error messages) are probably not that many. It is probably a good idea to make the default user-configurable (I know the specs state that anything undeclared is iso-8859-1, but the real world doesn't agree to that). -- \\// Peter - http://www.softwolves.pp.se/