S
Shell
I'm using HttpWebRequest to create a request and get a chart from a web
site. It works great unless one of my request parameters is wrong.
i.e., if I say http://www.xyz.com/x?a=b it's fine, but if instead of
x?a=b, I do x?a=c, I get a protocol violation error (The server has
closed the connection). This is odd because if I do the same thing from
IE, I get an image which says "Chart not available".
Also, the HaveResponse property says 'true'. Is there any way I can get
whatever response was returned even if there was a protocol violation?
Any other workarounds?
Thanks in advance.
site. It works great unless one of my request parameters is wrong.
i.e., if I say http://www.xyz.com/x?a=b it's fine, but if instead of
x?a=b, I do x?a=c, I get a protocol violation error (The server has
closed the connection). This is odd because if I do the same thing from
IE, I get an image which says "Chart not available".
Also, the HaveResponse property says 'true'. Is there any way I can get
whatever response was returned even if there was a protocol violation?
Any other workarounds?
Thanks in advance.