mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 02:10:59 +00:00
fix document error
This commit is contained in:
parent
e01f044c33
commit
fa222dca65
@ -53,7 +53,7 @@ See the [client-side replay]({{< relref "overview-features#client-side-replay"
|
||||
### Running a script
|
||||
|
||||
{{< highlight bash >}}
|
||||
mitmdump -s examples/add_header.py
|
||||
mitmdump -s examples/simple/add_header.py
|
||||
{{< / highlight >}}
|
||||
|
||||
This runs the **add_header.py** example script, which simply adds a new
|
||||
@ -62,7 +62,7 @@ header to all responses.
|
||||
### Scripted data transformation
|
||||
|
||||
{{< highlight bash >}}
|
||||
mitmdump -ns examples/add_header.py -r srcfile -w dstfile
|
||||
mitmdump -ns examples/simple/add_header.py -r srcfile -w dstfile
|
||||
{{< / highlight >}}
|
||||
|
||||
This command loads flows from **srcfile**, transforms it according to
|
||||
|
Loading…
Reference in New Issue
Block a user