Skip to content

Commit

Permalink
Added disable gzip docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomakehurst committed Jul 18, 2019
1 parent 07bbb44 commit 463196b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs-v2/_docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ WireMock wraps all logging in its own ``Notifier`` interface. It ships with no-o
.notifier(new ConsoleNotifier(true))
```

## Gzip

Gzipping of responses can be disabled.

```java
.gzipDisabled(true)
```


## Extensions

Expand Down
4 changes: 3 additions & 1 deletion docs-v2/_docs/running-standalone.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ com.mycorp.HeaderTransformer,com.mycorp.BodyTransformer. See extending-wiremock.
`--max-template-cache-entries`: Set the maximum number of compiled template fragments to cache. Only has any effect when response templating is enabled. Defaults to no limit.

`--use-chunked-encoding`: Set the policy for sending responses with `Transfer-Encoding: chunked`. Valid values are `always`, `never` and `body_file`.
The last of these will cause chunked encoding to be used only when a stub defines its response body from a file.
The last of these will cause chunked encoding to be used only when a stub defines its response body from a file.

`--disable-gzip`: Prevent response bodies from being gzipped.

`--help`: Show command line help

Expand Down

0 comments on commit 463196b

Please sign in to comment.