aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/docs/features/anticache.rst
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/docs/features/anticache.rst')
-rw-r--r--mitmproxy/docs/features/anticache.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/mitmproxy/docs/features/anticache.rst b/mitmproxy/docs/features/anticache.rst
new file mode 100644
index 00000000..65d22bab
--- /dev/null
+++ b/mitmproxy/docs/features/anticache.rst
@@ -0,0 +1,15 @@
+.. _anticache:
+
+Anticache
+=========
+When the :option:`--anticache` option is passed to mitmproxy, it removes headers
+(``if-none-match`` and ``if-modified-since``) that might elicit a
+``304 not modified`` response from the server. This is useful when you want to make
+sure you capture an HTTP exchange in its totality. It's also often used during
+:ref:`clientreplay`, when you want to make sure the server responds with complete data.
+
+
+================== ======================
+command-line :option:`--anticache`
+mitmproxy shortcut :kbd:`o` then :kbd:`a`
+================== ======================