Skip to content

Commit

Permalink
Document options().withSupportedProxyEncodings (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahoney authored Apr 2, 2024
1 parent ebfe2b9 commit 2d63e8e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ WireMock uses the trust store for three purposes:

// The type of the CA key store
.caKeystoreType("JKS")

// Which proxy encodings to proxy through to the target if the request contains an Accept-Encoding header
// By default this is null, which means the header is sent to the target unchanged
// If there is an Accept-Encoding header on the request, and it does not contain any of the supported proxy encodings, the header is not sent to the target.
.withSupportedProxyEncodings("gzip", "deflate")
```

## File locations
Expand Down

0 comments on commit 2d63e8e

Please sign in to comment.