From 4de3312a9bf3f6e0187c617ccd08a5ebcae5c662 Mon Sep 17 00:00:00 2001 From: Kristijan Mitrovic Date: Fri, 25 Sep 2020 11:11:47 +0000 Subject: [PATCH] Update comment with typo --- .../main/resources/packer/roles/mitmproxy/files/bubble_api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bubble-server/src/main/resources/packer/roles/mitmproxy/files/bubble_api.py b/bubble-server/src/main/resources/packer/roles/mitmproxy/files/bubble_api.py index 79c2b5cf..df82e87b 100644 --- a/bubble-server/src/main/resources/packer/roles/mitmproxy/files/bubble_api.py +++ b/bubble-server/src/main/resources/packer/roles/mitmproxy/files/bubble_api.py @@ -487,8 +487,7 @@ def update_host_and_port(flow): def _replace_in_headers(headers: nheaders.Headers, modifiers_dict: dict) -> int: """ - Taken from original mitmproxy's Header class implementation with sligh change to allow replacement with empty string - (resulting with actual removal/skip of the header line). + Taken from original mitmproxy's Header class implementation with some changes. Replaces a regular expression pattern with repl in each "name: value" header line.