mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
minor fixes
This commit is contained in:
parent
ec6fbe9eb6
commit
f84a23f11d
@ -7,7 +7,7 @@ import traceback
|
|||||||
import click
|
import click
|
||||||
|
|
||||||
from typing import Optional # noqa
|
from typing import Optional # noqa
|
||||||
import typing
|
import typing # noqa
|
||||||
|
|
||||||
from mitmproxy import contentviews
|
from mitmproxy import contentviews
|
||||||
from mitmproxy import controller
|
from mitmproxy import controller
|
||||||
|
@ -31,7 +31,7 @@ class Options(options.Options):
|
|||||||
stickyauth=None, # type: Optional[str]
|
stickyauth=None, # type: Optional[str]
|
||||||
stream_large_bodies=None, # type: Optional[str]
|
stream_large_bodies=None, # type: Optional[str]
|
||||||
verbosity=1, # type: int
|
verbosity=1, # type: int
|
||||||
outfile=None, # type: Optional[str]
|
outfile=None, # type: Tuple[str, str]
|
||||||
replay_ignore_content=False, # type: bool
|
replay_ignore_content=False, # type: bool
|
||||||
replay_ignore_params=(), # type: Sequence[str]
|
replay_ignore_params=(), # type: Sequence[str]
|
||||||
replay_ignore_payload_params=(), # type: Sequence[str]
|
replay_ignore_payload_params=(), # type: Sequence[str]
|
||||||
|
@ -7,7 +7,7 @@ import os.path
|
|||||||
from mitmproxy.builtins import stream
|
from mitmproxy.builtins import stream
|
||||||
from mitmproxy.flow import master, FlowReader
|
from mitmproxy.flow import master, FlowReader
|
||||||
from mitmproxy.flow import state
|
from mitmproxy.flow import state
|
||||||
from mitmproxy import options
|
from mitmproxy.flow import options
|
||||||
|
|
||||||
|
|
||||||
class TestStream(mastertest.MasterTest):
|
class TestStream(mastertest.MasterTest):
|
||||||
|
Loading…
Reference in New Issue
Block a user