mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +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
|
### Running a script
|
||||||
|
|
||||||
{{< highlight bash >}}
|
{{< highlight bash >}}
|
||||||
mitmdump -s examples/add_header.py
|
mitmdump -s examples/simple/add_header.py
|
||||||
{{< / highlight >}}
|
{{< / highlight >}}
|
||||||
|
|
||||||
This runs the **add_header.py** example script, which simply adds a new
|
This runs the **add_header.py** example script, which simply adds a new
|
||||||
@ -62,7 +62,7 @@ header to all responses.
|
|||||||
### Scripted data transformation
|
### Scripted data transformation
|
||||||
|
|
||||||
{{< highlight bash >}}
|
{{< highlight bash >}}
|
||||||
mitmdump -ns examples/add_header.py -r srcfile -w dstfile
|
mitmdump -ns examples/simple/add_header.py -r srcfile -w dstfile
|
||||||
{{< / highlight >}}
|
{{< / highlight >}}
|
||||||
|
|
||||||
This command loads flows from **srcfile**, transforms it according to
|
This command loads flows from **srcfile**, transforms it according to
|
||||||
|
Loading…
Reference in New Issue
Block a user