Menu

#1 data scheme handling

closed
nobody
None
5
2003-04-24
2003-02-13
Anonymous
No

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

Discussion

  • Nobody/Anonymous

    Modified DataWebResponse class

     
  • Niklas Gustavsson

    • status: open --> closed
     

Log in to post a comment.