File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
subprojects/zap-clientapi/src/main/java/org/zaproxy/clientapi/core Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ Summary of the changes done in each version.
4
4
5
5
## 1.6.0 (Not yet released)
6
6
7
+ ### Changes
8
+
9
+ - Explicitly disable HTTP caching, to always obtain a fresh response from ZAP.
7
10
8
11
## 1.5.0 (2017-11-30)
9
12
Original file line number Diff line number Diff line change @@ -351,6 +351,7 @@ private Document callApiDom(
351
351
352
352
private InputStream getConnectionInputStream (HttpRequest request ) throws IOException {
353
353
HttpURLConnection uc = (HttpURLConnection ) request .getRequestUri ().openConnection (proxy );
354
+ uc .setUseCaches (false );
354
355
for (Entry <String , String > header : request .getHeaders ().entrySet ()) {
355
356
uc .setRequestProperty (header .getKey (), header .getValue ());
356
357
}
You can’t perform that action at this time.
0 commit comments