From 7efefb716eb004369a264491f0ca558e32337c8a Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Wed, 4 Aug 2021 17:30:28 +0200 Subject: [PATCH] docs: remove outdated http/2 advice --- docs/src/content/overview-features.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/src/content/overview-features.md b/docs/src/content/overview-features.md index 618d02838..46ab86507 100644 --- a/docs/src/content/overview-features.md +++ b/docs/src/content/overview-features.md @@ -147,9 +147,6 @@ The `map_remote` option lets you specify an arbitrary number of patterns that define replacements within HTTP request URLs before they are sent to a server. The substituted URL is fetched instead of the original resource and the corresponding HTTP response is returned transparently to the client. -Note that if the original destination uses HTTP2, the substituted destination -needs to support HTTP2 as well, otherwise the substituted request may fail. -As a workaround you can start mitmproxy with the `--no-http2` flag to disable HTTP2. `map_remote` patterns look like this: ``` @@ -169,8 +166,6 @@ The _separator_ is arbitrary, and is defined by the first character (`|` in the #### Examples Map all requests ending with `.jpg` to `https://placedog.net/640/480?random`. -Note that this might fail if the original HTTP request destination uses HTTP2 but the replaced -destination does not support HTTP2. ``` |.*\.jpg$|https://placedog.net/640/480?random