mitmproxy/docs/features/setheaders.rst
Maximilian Hils 853cd81075 docs++
2015-09-06 01:37:15 +02:00

18 lines
540 B
ReStructuredText

.. _setheaders:
Set Headers
===========
This feature lets you specify a set of headers to be added to requests or
responses, based on a filter pattern. You can specify these either on the
command-line, or through an interactive editor in mitmproxy.
Example:
.. code-block:: none
mitmdump -R http://example.com --setheader :~q:Host:example.com
================== =============================
command-line :option:`--setheader PATTERN`
mitmproxy shortcut :kbd:`o` then :kbd:`H`
================== =============================