diff options
author | Rodrigo Senra <rodrigo.senra@emc.com> | 2017-01-07 19:58:30 -0500 |
---|---|---|
committer | Rodrigo Senra <rodrigo.senra@emc.com> | 2017-01-07 19:58:30 -0500 |
commit | d013f7ec8faab0ab4cc2645c6d1c40985538ddf7 (patch) | |
tree | 0c077cbe5d61f4e4aa75325ac59d659d8fc19c7f /docs/features | |
parent | 88f3459c7d7fc44bf0e247cf7f018f8c53431e8d (diff) | |
download | mitmproxy-d013f7ec8faab0ab4cc2645c6d1c40985538ddf7.tar.gz mitmproxy-d013f7ec8faab0ab4cc2645c6d1c40985538ddf7.tar.bz2 mitmproxy-d013f7ec8faab0ab4cc2645c6d1c40985538ddf7.zip |
Added note about server-side replay for sessions recorded in reverse-proxy mode
Diffstat (limited to 'docs/features')
-rw-r--r-- | docs/features/serverreplay.rst | 13 |
1 files changed, 13 insertions, 0 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` |