While looking over the DataWebResponse class and
rfc2397 it would seem to suggest the following:
if (mediaType == "")
mediaType = "text/plain;charset=US-ASCII";
else if (mediaType.StartsWith(";charset="))
mediaType = "text/plain" + mediaType;
Also letter casing and whitespace may be issues?
Log in to post a comment.