N
Nathan
How does one go about troubleshooting problems with WebRequest and
prooxy servers?
WebRequest.GetResponse is returning WebException with message: The
response did not contain an end of entity mark.
This only happens with one customer when he uses the Pocket PC at work.
Pocket Internet Explorer works under the same circumstances and shows a
valid plain text response. My .NET CF program gets the above error.
Under both scenarios, the server log shows that everything happened
correctly on the server and it returned a valid response. The only
difference in the request, that I can see, is that the User Agent is
"-" instead of "Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC;
240x320)". The response is not different.
It appears that the proxy, or some other entity is modifying the
response or returning an error. The customer does not have personal
firewall software but there certainly could be a corporate firewall.
How do I go about finding out why this happens? Is it a lost cause if I
don't have access to the proxy server?
And will putting something different in the User Agent header make any
difference?
Thanks for any ideas.
Nathan
prooxy servers?
WebRequest.GetResponse is returning WebException with message: The
response did not contain an end of entity mark.
This only happens with one customer when he uses the Pocket PC at work.
Pocket Internet Explorer works under the same circumstances and shows a
valid plain text response. My .NET CF program gets the above error.
Under both scenarios, the server log shows that everything happened
correctly on the server and it returned a valid response. The only
difference in the request, that I can see, is that the User Agent is
"-" instead of "Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC;
240x320)". The response is not different.
It appears that the proxy, or some other entity is modifying the
response or returning an error. The customer does not have personal
firewall software but there certainly could be a corporate firewall.
How do I go about finding out why this happens? Is it a lost cause if I
don't have access to the proxy server?
And will putting something different in the User Agent header make any
difference?
Thanks for any ideas.
Nathan