diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/features/serverreplay.rst | 13 | ||||
-rw-r--r-- | docs/install.rst | 6 |
2 files changed, 16 insertions, 3 deletions
diff --git a/docs/features/serverreplay.rst b/docs/features/serverreplay.rst index f545d4a5..a1e1cbd1 100644 --- a/docs/features/serverreplay.rst +++ b/docs/features/serverreplay.rst @@ -33,6 +33,19 @@ updated in a similar way. You can turn off response refreshing using the ``--norefresh`` argument, or using the :kbd:`o` options shortcut within :program:`mitmproxy`. + +Replaying a session recorded in Reverse-proxy Mode +-------------------------------------------------- + +If you have captured the session in reverse proxy mode, in order to replay it you +still have to specify the server URL, otherwise you may get the error: +'HTTP protocol error in client request: Invalid HTTP request form (expected authority or absolute...)'. + +During replay, when the client's requests match previously recorded requests, then the +respective recorded responses are simply replayed by mitmproxy. +Otherwise, the unmatched requests is forwarded to the upstream server. +If forwarding is not desired, you can use the --kill (-k) switch to prevent that. + ================== =========== command-line ``-S path`` mitmproxy shortcut :kbd:`R` then :kbd:`s` diff --git a/docs/install.rst b/docs/install.rst index 93b3c364..c10c1e01 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -35,7 +35,7 @@ Both executables are added to your PATH and can be invoked from the command line. .. note:: - mitmproxy's console interface is not supported on Windows, but you can use + Mitmproxy's console interface is not supported on Windows, but you can use mitmweb (the web-based interface) and mitmdump. .. _install-linux: @@ -117,13 +117,13 @@ Make sure to have an up-to-date version of pip by running ``pip3 install -U pip` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. note:: - mitmproxy's console interface is not supported on Windows, but you can use + Mitmproxy's console interface is not supported on Windows, but you can use mitmweb (the web-based interface) and mitmdump. First, install the latest version of Python 3.5 or later from the `Python website`_. During installation, make sure to select `Add Python to PATH`. -Now, you can install mitmproxy by running +Mitmproxy has no other dependencies on Windows. You can now install mitmproxy by running .. code:: powershell |