From f30c8e0bbe26e8a184299de4f5301f7fc3e5bb65 Mon Sep 17 00:00:00 2001 From: Tom Akehurst Date: Thu, 25 Apr 2024 10:08:56 +0100 Subject: [PATCH] Added --supported-proxy-encodings doc --- _docs/standalone/java-jar.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_docs/standalone/java-jar.md b/_docs/standalone/java-jar.md index cfb978b6..c095e3c6 100644 --- a/_docs/standalone/java-jar.md +++ b/_docs/standalone/java-jar.md @@ -100,6 +100,10 @@ internet access via an opaque proxy). e.g. `--proxy-via webproxy.mycorp.com:8080`. Also supports proxy authentication, e.g. `--proxy-via http://username:password@webproxy.mycorp.com:8080/`. +`--supported-proxy-encodings`: The set of acceptable compression methods represented in the `accept-encoding` request header +sent by WireMock when proxying or recording expressed as a comma-separated list e.g `gzip,deflate`. This is particularly useful if you want to avoid recording e.g. brotli compresssed responses +that can't then be viewed in the request log or served with a different compression scheme on playback, which can be achieved via `--supported-proxy-encodings=identity`. + `--enable-browser-proxying`: Run as a browser proxy. See [Running as a browser proxy](../../proxying#running-as-a-browser-proxy).