Skip to content

Commit

Permalink
feat: added and updated not-cacheable headers
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-deri committed Oct 10, 2023
1 parent d43c016 commit 0fea326
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/it/gov/pagopa/mocker/util/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@ public class Constants {
);

public static final Set<String> NOT_CACHEABLE_HEADERS_CLOUDPROVIDER = Set.of(
"tracecparent", "x-appgw-trace-id", "x-client-ip",
"traceparent", "x-appgw-trace-id", "x-client-ip",
"x-real-ip", "x-request-id"
);

public static final Set<String> NOT_CACHEABLE_HEADERS_CUSTOM = Set.of(
"x-cache-exclude-headers",
"postman-token"
);

Expand Down

0 comments on commit 0fea326

Please sign in to comment.