G
Guest
I used HttpWebRequest/HttpWebResponse to get the content of an URL. It throws
"HTTP Protocol Violation" sometimes. And I set useUnsafeHeaderParsing =
"true" to fix the problem in most case, but for some cases, it does not fix
the problem.
I know there are some problems in server, but I cannot control the server,
and the content shows well in IE. (My content-type is text/plain)
My question is there an alternative way to get content of the URL? I
remember I did something in Perl five years before, Can we use other way in
..NET? I have hoped Microsoft can fix the well-know problem, looks like the
problem remain in framework 2.0
Thanks
"HTTP Protocol Violation" sometimes. And I set useUnsafeHeaderParsing =
"true" to fix the problem in most case, but for some cases, it does not fix
the problem.
I know there are some problems in server, but I cannot control the server,
and the content shows well in IE. (My content-type is text/plain)
My question is there an alternative way to get content of the URL? I
remember I did something in Perl five years before, Can we use other way in
..NET? I have hoped Microsoft can fix the well-know problem, looks like the
problem remain in framework 2.0
Thanks