I’m using HTTPWebRequest with a proxy. I have noticed if I set KeepAlive to true I get a 407 forbidden exception, when I set keep alive to false it works.
I was just wondering why is this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Because doing a keepalive to a proxy is a pointless waste of bandwidth. It sounds like your particular proxy server is smart enough to protect itself by issuing a “407” error response.
PS:
The error is actually