Kaynağa Gözat

Update comment with typo

pull/58/head
Kristijan Mitrovic 4 yıl önce
ebeveyn
işleme
4de3312a9b
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. +1
    -2
      bubble-server/src/main/resources/packer/roles/mitmproxy/files/bubble_api.py

+ 1
- 2
bubble-server/src/main/resources/packer/roles/mitmproxy/files/bubble_api.py Dosyayı Görüntüle

@@ -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.


Yükleniyor…
İptal
Kaydet