Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Commit 2594f4a

Browse files
committed
cleaning cached har
1 parent b22126f commit 2594f4a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

browserup-proxy-core/src/main/java/com/browserup/bup/mitmproxy/management/HarCaptureManager.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ public Har getHar() {
3737
public Har getHar(Boolean cleanHar) {
3838
if (!mitmProxyManager.isRunning()) return lastHar;
3939

40+
if (cleanHar) {
41+
this.lastHar = null;
42+
}
43+
4044
HarResponse response = addonsManagerClient.
4145
getRequestToAddonsManager(
4246
"har",

0 commit comments

Comments
 (0)