mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
83f8522981
inserting " .. option::" tags create ugly markup, so we just ditch this entirely and continue using refs.
16 lines
591 B
ReStructuredText
16 lines
591 B
ReStructuredText
.. _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`
|
|
================== ======================
|