Reputation: 7545
Fiddler is capturing a lot of HTTP OPTIONS calls, which I have no interest in.
Is it possible to ignore these and only see GET and POST?
Upvotes: 19
Views: 6422
Reputation: 7545
In Fiddler, click "Rules" --> "Customize Rules". This will open a script file allowing you to create custom rules.
find OnBeforeRequest
and add in this code:
static function OnBeforeRequest(oSession: Session) {
if (oSession.HTTPMethodIs("OPTIONS")) {
oSession["ui-hide"] = "true";
}
find OnBeforeResponse
and add in this code:
static function OnBeforeResponse(oSession: Session) {
if (oSession.HTTPMethodIs("OPTIONS") && oSession.responseCode == 200) {
oSession["ui-hide"] = "true";
}
Upvotes: 39