mirror of
https://github.com/mitmproxy/mitmproxy.git
synced 2024-11-26 23:00:40 +00:00
fix some typos (#6728)
This commit is contained in:
parent
ee5aac0a12
commit
a8603cac0d
@ -1,7 +1,7 @@
|
|||||||
"""
|
"""
|
||||||
Process individual messages from a TCP connection.
|
Process individual messages from a TCP connection.
|
||||||
|
|
||||||
This script replaces full occurences of "foo" with "bar" and prints various details for each message.
|
This script replaces full occurrences of "foo" with "bar" and prints various details for each message.
|
||||||
Please note that TCP is stream-based and *not* message-based. mitmproxy splits stream contents into "messages"
|
Please note that TCP is stream-based and *not* message-based. mitmproxy splits stream contents into "messages"
|
||||||
as they are received by socket.recv(). This is pretty arbitrary and should not be relied on.
|
as they are received by socket.recv(). This is pretty arbitrary and should not be relied on.
|
||||||
However, it is sometimes good enough as a quick hack.
|
However, it is sometimes good enough as a quick hack.
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# - dumper_folder: content dump destination folder (default: ./httpdump)
|
# - dumper_folder: content dump destination folder (default: ./httpdump)
|
||||||
# - open_browser: open integrated browser with proxy configured at start (default: true)
|
# - open_browser: open integrated browser with proxy configured at start (default: true)
|
||||||
#
|
#
|
||||||
# remember to add your own mitmproxy authorative certs in your browser/os!
|
# remember to add your own mitmproxy authoritative certs in your browser/os!
|
||||||
# certs docs: https://docs.mitmproxy.org/stable/concepts-certificates/
|
# certs docs: https://docs.mitmproxy.org/stable/concepts-certificates/
|
||||||
# filter expressions docs: https://docs.mitmproxy.org/stable/concepts-filters/
|
# filter expressions docs: https://docs.mitmproxy.org/stable/concepts-filters/
|
||||||
import logging
|
import logging
|
||||||
|
@ -46,7 +46,7 @@ class Benchmark:
|
|||||||
"benchmark_save_path",
|
"benchmark_save_path",
|
||||||
str,
|
str,
|
||||||
"/tmp/profile",
|
"/tmp/profile",
|
||||||
"Destination for the .prof and and .bench result files",
|
"Destination for the .prof and .bench result files",
|
||||||
)
|
)
|
||||||
ctx.options.update(
|
ctx.options.update(
|
||||||
mode="reverse:http://devd.io:10001",
|
mode="reverse:http://devd.io:10001",
|
||||||
|
Loading…
Reference in New Issue
Block a user