Hi.
Thanks for your service, Mr. Eric.
Fiddler is wonderful tool for Web debugging, so we are trying to implement MITM function using your FiddlerCore in our project.
I think FiddlerCore certainly will be of help to us.
But, I have encountered the same problem.
In my office web proxy is configured with basic authorization scheme, my application using FiddlerCore (v2.4.0.1) is receving the response [HTTP/1.0 407 Proxy Authentication Required].
The following is prototype of BeforeRequest() in our code.
Fiddler.FiddlerApplication.BeforeRequest += delegate(Fiddler.Session oS)
{
oS.oRequest["Proxy-Authorization"] = "Basic YWRhbToxMjM0NTY=";
// oS.oFlags["X-AutoAuth"] = "YWRhbToxMjM0NTY=";
if (oSession.HTTPMethodIs("CONNECT")) { oSession.oFlags["X-ReplyWithTunnel"] = "Fake for HTTPS Tunnel"; return; }
// my custom code...
}
I attached the saz file captured by Fiddler program. "X-AutoAuth" flag also have no effect.
How can I fix this problem ?
Thanks.