Server 1 is showing the image snapshot of user home page on the default page that it retreive via server 2. So it sends a HttpWebrequest to Server 2 url
Server 2 is retrieving a snapshot of the users home page with a third party control and sends the image back via response.
Server one getting said image from the Httpwebrequest, deletes any outdated files and then saves (to the hard drive) and then displays the right image to the browser
Strange Behavior
about 40% of the time the HttpWebRequest will come back with the "Server committed a protocol violation. Section=ResponseStatusLine"
angelalaw
Member
10 Points
42 Posts
HttpWebRequest with retreiving a dynamically generated image from another server
Dec 18, 2007 05:57 PM|LINK
Server 1 is showing the image snapshot of user home page on the default page that it retreive via server 2. So it sends a HttpWebrequest to Server 2 url
Server 2 is retrieving a snapshot of the users home page with a third party control and sends the image back via response.
Server one getting said image from the Httpwebrequest, deletes any outdated files and then saves (to the hard drive) and then displays the right image to the browser
Strange Behavior
about 40% of the time the HttpWebRequest will come back with the "Server committed a protocol violation. Section=ResponseStatusLine"
I have tried already:
<system.net><
settings> <httpWebRequest useUnsafeHeaderParsing="true" /></
settings></
system.net>as well as the codebehind solution.....
The server 2 url is fine if I do it manually by hand....It will show the image via browser.
I don't understand why this is working some of the time and not all the time.
Any help is greatly apprecaite,
Angela
PS I hop ethis is in the right topic area.