aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-04-29 18:46:12 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-04-29 18:46:12 +1200
commitd5aa88e0920b1d86edbc2bcf049e4c13f6c9bdc9 (patch)
tree3f0765b1aac957fa4cb24b1e5144a85b9a313777
parente7ed79e38b5f7f782f392a56c9925dad82ea2881 (diff)
downloadmitmproxy-d5aa88e0920b1d86edbc2bcf049e4c13f6c9bdc9.tar.gz
mitmproxy-d5aa88e0920b1d86edbc2bcf049e4c13f6c9bdc9.tar.bz2
mitmproxy-d5aa88e0920b1d86edbc2bcf049e4c13f6c9bdc9.zip
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...
-rw-r--r--README.mkd21
1 files changed, 6 insertions, 15 deletions
diff --git a/README.mkd b/README.mkd
index 76ad9246..9c333a40 100644
--- a/README.mkd
+++ b/README.mkd
@@ -116,36 +116,36 @@ once at 10 bytes and once at 20, then disconnects at 5000:
Features
========
-### _h_KEY=VALUE
+#### hKEY=VALUE
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
automatically set the appropriate Content-Length header.
-### _c_VALUE
+#### cVALUE
A shortcut for setting the Content-Type header. Equivalent to:
h"Content-Type"=VALUE
-### _l_VALUE
+#### lVALUE
A shortcut for setting the Location header. Equivalent to:
h"Content-Type"=VALUE
-### _d_OFFSET
+#### dOFFSET
Disconnect after OFFSET bytes. The offset can also be "r", in which case Pathod
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
forever. OFFSET can also be "r" to generate a random offset, or "a" for an
@@ -231,12 +231,3 @@ Supported data types are:
whitespace
ascii
bytes
-
-
-
-Anchors
-=======
-
- Passed on command-line:
- -a "/foo/bar=200:!/foo"
-