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?
Tigran