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

2 posts, 0 answers
  1. the East Wind
    the East Wind avatar
    12 posts
    Member since:
    Sep 2019

    Posted 05 Nov 2019 Link to this post

    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?

  2. Eric R | Senior Technical Support Engineer
    Admin
    Eric R | Senior Technical Support Engineer avatar
    396 posts

    Posted 07 Nov 2019 Link to this post

    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
Back to Top