I have
oSession[
"log-drop-request-body"
] =
"yes"
;
oSession[
"log-drop-response-body"
] =
"yes"
;
oSession.bBufferResponse =
false
;
set for all sessions in OnBeforeRequest(oSession: Session) and this works perfectly unless the session "was aborted by the client, Fiddler, or the Server". If the session is aborted, the request body is logged.
- Should the body be dropped if it is an aborted session?
- Is there a way of discarding the body even if the session was aborted?
- Perhaps I should try dropping the body in OnPeekAtRequestHeaders(), OnReturningError() or even OnDone()?