mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
Doc tweaks.
There will be a lot of these, because the only way to see how things render on Github is to upload a new README...
This commit is contained in:
parent
e7ed79e38b
commit
d5aa88e092
21
README.mkd
21
README.mkd
@ -116,36 +116,36 @@ once at 10 bytes and once at 20, then disconnects at 5000:
|
|||||||
Features
|
Features
|
||||||
========
|
========
|
||||||
|
|
||||||
### _h_KEY=VALUE
|
#### hKEY=VALUE
|
||||||
|
|
||||||
Set a header. Both KEY and VALUE are full _Value Specifiers_.
|
Set a header. Both KEY and VALUE are full _Value Specifiers_.
|
||||||
|
|
||||||
|
|
||||||
### _b_VALUE
|
#### bVALUE
|
||||||
|
|
||||||
Set the body. VALUE is a _Value Specifier_. When the body is set, Pathod will
|
Set the body. VALUE is a _Value Specifier_. When the body is set, Pathod will
|
||||||
automatically set the appropriate Content-Length header.
|
automatically set the appropriate Content-Length header.
|
||||||
|
|
||||||
### _c_VALUE
|
#### cVALUE
|
||||||
|
|
||||||
A shortcut for setting the Content-Type header. Equivalent to:
|
A shortcut for setting the Content-Type header. Equivalent to:
|
||||||
|
|
||||||
h"Content-Type"=VALUE
|
h"Content-Type"=VALUE
|
||||||
|
|
||||||
### _l_VALUE
|
#### lVALUE
|
||||||
|
|
||||||
A shortcut for setting the Location header. Equivalent to:
|
A shortcut for setting the Location header. Equivalent to:
|
||||||
|
|
||||||
h"Content-Type"=VALUE
|
h"Content-Type"=VALUE
|
||||||
|
|
||||||
|
|
||||||
### _d_OFFSET
|
#### dOFFSET
|
||||||
|
|
||||||
Disconnect after OFFSET bytes. The offset can also be "r", in which case Pathod
|
Disconnect after OFFSET bytes. The offset can also be "r", in which case Pathod
|
||||||
will disconnect at a random point in the response.
|
will disconnect at a random point in the response.
|
||||||
|
|
||||||
|
|
||||||
### _p_SECONDS,OFFSET
|
#### pSECONDS,OFFSET
|
||||||
|
|
||||||
Pause for SECONDS seconds after OFFSET bytes. SECONDS can also be "f" to pause
|
Pause for SECONDS seconds after OFFSET bytes. SECONDS can also be "f" to pause
|
||||||
forever. OFFSET can also be "r" to generate a random offset, or "a" for an
|
forever. OFFSET can also be "r" to generate a random offset, or "a" for an
|
||||||
@ -231,12 +231,3 @@ Supported data types are:
|
|||||||
whitespace
|
whitespace
|
||||||
ascii
|
ascii
|
||||||
bytes
|
bytes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Anchors
|
|
||||||
=======
|
|
||||||
|
|
||||||
Passed on command-line:
|
|
||||||
-a "/foo/bar=200:!/foo"
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user