Example specified incorrect header (#4997)

* Example specified incorrect header

* Add CHANGELOG entry reference the documentation update

* fixup! Add CHANGELOG entry reference the documentation update
This commit is contained in:
James Yale 2021-12-20 19:18:00 +00:00 committed by GitHub
parent 6997129bc0
commit ace07e7e3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -20,6 +20,7 @@
* Add fonts to asset filter (~a) (#4928, @elespike)
* Fix bug that crashed when using `view.flows.resolve` (#4916, @rbdixon)
* Fix a bug where `running()` is invoked twice on startup (#3584, @mhils)
* Correct documentation example for User-Agent header modification (#4997, @jamesyale)
## 28 September 2021: mitmproxy 7.0.4

View file

@ -275,7 +275,7 @@ Set the `User-Agent` header to the data read from `~/useragent.txt` for all requ
(existing `User-Agent` headers are replaced):
```
/~q/Host/@~/useragent.txt
/~q/User-Agent/@~/useragent.txt
```
Remove existing `Host` headers from all requests: