aboutsummaryrefslogtreecommitdiffstats
path: root/docs/features
diff options
context:
space:
mode:
Diffstat (limited to 'docs/features')
-rw-r--r--docs/features/anticache.rst2
-rw-r--r--docs/features/passthrough.rst2
-rw-r--r--docs/features/replacements.rst4
-rw-r--r--docs/features/reverseproxy.rst5
-rw-r--r--docs/features/serverreplay.rst2
-rw-r--r--docs/features/setheaders.rst2
-rw-r--r--docs/features/sticky.rst4
-rw-r--r--docs/features/tcpproxy.rst2
-rw-r--r--docs/features/upstreamcerts.rst2
9 files changed, 13 insertions, 12 deletions
diff --git a/docs/features/anticache.rst b/docs/features/anticache.rst
index 411b284b..a0c3187a 100644
--- a/docs/features/anticache.rst
+++ b/docs/features/anticache.rst
@@ -11,5 +11,5 @@ sure you capture an HTTP exchange in its totality. It's also often used during
================== ======================
command-line ``--anticache``
-mitmproxy shortcut :kbd:`o` then :kbd:`a`
+mitmproxy shortcut :kbd:`O` then :kbd:`a`
================== ======================
diff --git a/docs/features/passthrough.rst b/docs/features/passthrough.rst
index 10df49ad..d68a49a9 100644
--- a/docs/features/passthrough.rst
+++ b/docs/features/passthrough.rst
@@ -23,7 +23,7 @@ How it works
================== ======================
command-line ``--ignore regex``
-mitmproxy shortcut :kbd:`o` then :kbd:`I`
+mitmproxy shortcut :kbd:`O` then :kbd:`I`
================== ======================
diff --git a/docs/features/replacements.rst b/docs/features/replacements.rst
index b4643dd2..215f0ddb 100644
--- a/docs/features/replacements.rst
+++ b/docs/features/replacements.rst
@@ -61,12 +61,12 @@ times.
Interactively
-------------
-The :kbd:`R` shortcut key in the mitmproxy options menu (:kbd:`o`) lets you add and edit
+The :kbd:`R` shortcut key in the mitmproxy options menu (:kbd:`O`) lets you add and edit
replacement hooks using a built-in editor. The context-sensitive help (:kbd:`?`) has
complete usage information.
================== =======================
command-line ``--replace``,
``--replace-from-file``
-mitmproxy shortcut :kbd:`o` then :kbd:`R`
+mitmproxy shortcut :kbd:`O` then :kbd:`R`
================== =======================
diff --git a/docs/features/reverseproxy.rst b/docs/features/reverseproxy.rst
index 85ad33e8..57b353ae 100644
--- a/docs/features/reverseproxy.rst
+++ b/docs/features/reverseproxy.rst
@@ -31,7 +31,8 @@ Host Header
In reverse proxy mode, mitmproxy automatically rewrites the Host header to match the
upstream server. This allows mitmproxy to easily connect to existing endpoints on the
-open web (e.g. ``mitmproxy -R https://example.com``).
+open web (e.g. ``mitmproxy -R https://example.com``). You can disable this behaviour
+by passing ``--keep-host-header`` on the console.
However, keep in mind that absolute URLs within the returned document or HTTP redirects will
NOT be rewritten by mitmproxy. This means that if you click on a link for "http://example.com"
@@ -39,4 +40,4 @@ in the returned web page, you will be taken directly to that URL, bypassing mitm
One possible way to address this is to modify the hosts file of your OS so that "example.com"
resolves to your proxy's IP, and then access the proxy by going directly to example.com.
-Make sure that your proxy can still resolve the original IP, or specify an IP in mitmproxy. \ No newline at end of file
+Make sure that your proxy can still resolve the original IP, or specify an IP in mitmproxy.
diff --git a/docs/features/serverreplay.rst b/docs/features/serverreplay.rst
index a1e1cbd1..aef0296e 100644
--- a/docs/features/serverreplay.rst
+++ b/docs/features/serverreplay.rst
@@ -31,7 +31,7 @@ in the past at the time of replay, and vice versa. Cookie expiry times are
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`.
+the :kbd:`O` options shortcut within :program:`mitmproxy`.
Replaying a session recorded in Reverse-proxy Mode
diff --git a/docs/features/setheaders.rst b/docs/features/setheaders.rst
index aa991bf4..486f8c76 100644
--- a/docs/features/setheaders.rst
+++ b/docs/features/setheaders.rst
@@ -15,5 +15,5 @@ Example: Set the **Host** header to "example.com" for all requests.
================== =======================
command-line ``--setheader PATTERN``
-mitmproxy shortcut :kbd:`o` then :kbd:`H`
+mitmproxy shortcut :kbd:`O` then :kbd:`H`
================== =======================
diff --git a/docs/features/sticky.rst b/docs/features/sticky.rst
index 7be5f842..5cf32299 100644
--- a/docs/features/sticky.rst
+++ b/docs/features/sticky.rst
@@ -22,7 +22,7 @@ to interact with the secured resources.
================== ======================
command-line ``-t FILTER``
-mitmproxy shortcut :kbd:`o` then :kbd:`t`
+mitmproxy shortcut :kbd:`O` then :kbd:`t`
================== ======================
@@ -37,5 +37,5 @@ replay of HTTP Digest authentication.
================== ======================
command-line ``-u FILTER``
-mitmproxy shortcut :kbd:`o` then :kbd:`A`
+mitmproxy shortcut :kbd:`O` then :kbd:`A`
================== ======================
diff --git a/docs/features/tcpproxy.rst b/docs/features/tcpproxy.rst
index 77c62bbf..0825c024 100644
--- a/docs/features/tcpproxy.rst
+++ b/docs/features/tcpproxy.rst
@@ -19,7 +19,7 @@ How it works
================== ======================
command-line ``--tcp HOST``
-mitmproxy shortcut :kbd:`o` then :kbd:`T`
+mitmproxy shortcut :kbd:`O` then :kbd:`T`
================== ======================
For a detailed description how the hostname pattern works, please look at the :ref:`passthrough`
diff --git a/docs/features/upstreamcerts.rst b/docs/features/upstreamcerts.rst
index d2a82ca2..4ef79e1b 100644
--- a/docs/features/upstreamcerts.rst
+++ b/docs/features/upstreamcerts.rst
@@ -19,5 +19,5 @@ Upstream cert sniffing is on by default, and can optionally be turned off.
================== ======================
command-line ``--no-upstream-cert``
-mitmproxy shortcut :kbd:`o` then :kbd:`U`
+mitmproxy shortcut :kbd:`O` then :kbd:`U`
================== ======================