2015-09-05 23:37:15 +00:00
|
|
|
.. _anticache:
|
|
|
|
|
|
|
|
Anticache
|
|
|
|
=========
|
2016-06-07 02:08:46 +00:00
|
|
|
When the ``--anticache`` option is passed to mitmproxy, it removes headers
|
2015-09-05 23:37:15 +00:00
|
|
|
(``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.
|
|
|
|
|
|
|
|
|
|
|
|
================== ======================
|
2016-06-07 02:08:46 +00:00
|
|
|
command-line ``--anticache``
|
2017-03-07 11:16:23 +00:00
|
|
|
mitmproxy shortcut :kbd:`O` then :kbd:`a`
|
2015-09-07 08:52:18 +00:00
|
|
|
================== ======================
|