This is a migrated thread and some comments may be shown as answers.

If the request and response are not manually dropped, how long will the request and response be cached?

1 Answer 83 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
the East Wind
Top achievements
Rank 1
the East Wind asked on 05 Nov 2019, 09:22 AM

As far as I know, in fidlercore, you can use

oS["log-drop-request-body"] = "streamingThisRequest";

oS["log-drop-response-body"] = "streamingThisResponse";

to release the request body or response body.

So, in which event processing should I use these two flags?

And how long will the request body and response body be cached by default when these two flags are not used?

1 Answer, 1 is accepted

Sort by
0
Eric R | Senior Technical Support Engineer
Telerik team
answered on 07 Nov 2019, 02:50 PM

Hi the East Wind,

When these flags are present, the request or response body will be immediately forgotten after Session processing completes. The event handler for each flag would look like the below. 

BeforeRequest Event

Fiddler.FiddlerApplication.BeforeRequest += session => 
{
    session["log-drop-request-body"] = "streamingThisRequest";
};

BeforeResponse Event

Fiddler.FiddlerApplication.BeforeResponse += session => 
{
    session["log-drop-response-body"] = "streamingThisResponse";
};

I hope this helps. Please let me know if you need any additional information. Thank you.

Regards,


Eric R | Technical Support Engineer
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Fiddler Classic
Asked by
the East Wind
Top achievements
Rank 1
Answers by
Eric R | Senior Technical Support Engineer
Telerik team
Share this question
or