From fd01a0aa95b575ce9bf696fd9530f911bfd07fc5 Mon Sep 17 00:00:00 2001 From: Semnodime Date: Sun, 2 Jul 2023 12:55:33 +0200 Subject: [PATCH] Update http-reply-from-proxy.py (#6117) * Update http-reply-from-proxy.py Fix #6115 * Update CHANGELOG.md Add one line to unreleased mitmproxy next * Update CHANGELOG.md Correct reference to PR --------- Co-authored-by: Maximilian Hils --- CHANGELOG.md | 2 ++ examples/addons/http-reply-from-proxy.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 16a539b06..a018cf5ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased: mitmproxy next +* Change wording in the [http-reply-from-proxy.py example](https://github.com/mitmproxy/mitmproxy/blob/main/examples/addons/http-reply-from-proxy.py). + ([#6117](https://github.com/mitmproxy/mitmproxy/pull/6117), @Semnodime) * Added option to specify an elliptic curve for key exchange between mitmproxy <-> server ([#6170](https://github.com/mitmproxy/mitmproxy/pull/6170), @Mike-Ki-ASD) * Add "Prettier" code linting tool to mitmweb. diff --git a/examples/addons/http-reply-from-proxy.py b/examples/addons/http-reply-from-proxy.py index 3ce35c5a4..e6470a3da 100644 --- a/examples/addons/http-reply-from-proxy.py +++ b/examples/addons/http-reply-from-proxy.py @@ -1,4 +1,4 @@ -"""Send a reply from the proxy without sending any data to the remote server.""" +"""Send a reply from the proxy without sending the request to the remote server.""" from mitmproxy import http