Andrew
Andrew

Reputation: 147

Do not show fiddler error message when dns is not found

I you fiddler core to monitor web traffic from the browser. However I have a problem when website does not exist. Fiddler then displays custom error message that website do not exist. I would like to display the standard error message from the browser... Maybe somebody knows how to do that?

Regards, Andrzej

Upvotes: 1

Views: 1166

Answers (1)

EricLaw
EricLaw

Reputation: 57085

The short answer is that "You can't pretend like a proxy isn't there" when it really is. Having said that, the reason you see the Fiddler error message is because I deliberately pad the response body out to 512 bytes so that the error message is shown instead of IE's Friendly error message. If you'd instead like to show a different error message (including one shorter than 256 bytes to ensure that the client gets the browser's "Friendly" error page if that option is configured, you can do so by intercepting the FiddlerApplication.BeforeReturningError event and replacing the response body with whatever you'd like.

Upvotes: 3

Related Questions