WebException:The response did not contain an end of entity mark

  • Thread starter Thread starter Nathan
  • Start date Start date
N

Nathan

Customer is getting this error for a web request from a Dell Axim X5.

System.Net.WebException:The response did not contain an end of entity
mark

The request is made to a web server php page that returns a line of
plain text. Everything happens fine on the server.

Is this a problem on the client or server side? It does not happen on
my pocket pc.

Is there a Control Z or something that the page needs to return? Or
certain pocket pcs that are picky about it.

Now that I look at it, it appears that the request is somehow expecting
xml or html instead of plain text. Why that would be, I don't know. The
page sets that header:

header("Content-type: text/plain");
 
Back
Top