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?
Jonathan Porter
jkporter80@hotmail.com
Modified DataWebResponse class