aboutsummaryrefslogtreecommitdiffstats
path: root/docs/features/anticache.rst
blob: 411b284b431e1db7f7bbd056e23f68ed94ed48e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.. _anticache:

Anticache
=========
When the ``--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       ``--anticache``
mitmproxy shortcut :kbd:`o` then :kbd:`a`
================== ======================