aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
author2NuFyeat4PZt <40205164+2NuFyeat4PZt@users.noreply.github.com>2020-02-07 13:41:47 +0000
committerGitHub <noreply@github.com>2020-02-07 13:41:47 +0000
commit6d71a8c0d910497003e4f4f645706588e0be2455 (patch)
tree20a719f432dc3e5f1510a24a45c8edc1f41838e1 /docs
parent735b8e35c9d142e43f002dfe224f431399548e3b (diff)
downloadmitmproxy-6d71a8c0d910497003e4f4f645706588e0be2455.tar.gz
mitmproxy-6d71a8c0d910497003e4f4f645706588e0be2455.tar.bz2
mitmproxy-6d71a8c0d910497003e4f4f645706588e0be2455.zip
Update concepts-filters.md
Provide a working example for the ~m filter
Diffstat (limited to 'docs')
-rw-r--r--docs/src/content/concepts-filters.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/src/content/concepts-filters.md b/docs/src/content/concepts-filters.md
index f0b9a4b2..b9c89456 100644
--- a/docs/src/content/concepts-filters.md
+++ b/docs/src/content/concepts-filters.md
@@ -49,3 +49,8 @@ Requests whose body contains the string "test":
Anything but requests with a text/html content type:
!(~q & ~t "text/html")
+
+Replace entire GET string in a request (quotes required to make it work):
+
+ ":~q ~m GET:.*:/replacement.html"
+