Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

AllowWriteStreamBuffering and proxy authentication

$
0
0

Hi.

I am using HttpWebRequest to upload files. The connection is via Proxy which requires authorization. We set credentials on proxy usingHttpWebRequest.Proxy.Credentials. In this case after each request anHTTP 407 error is received and a new request is sent with Proxy-Authorization header automatically.

To upload big files I set AllowWriteStreamBuffering to false to avoidOutOfMemoryException. In that case the first request is the same but the request withProxy-Authorization header is not sent.

Are there any additional actions that should be taken for this case?

Thanks,
Tigran

Viewing all articles
Browse latest Browse all 31927

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>