From d5aa88e0920b1d86edbc2bcf049e4c13f6c9bdc9 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 29 Apr 2012 18:46:12 +1200 Subject: [PATCH] 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... --- README.mkd | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/README.mkd b/README.mkd index 76ad9246a..9c333a40d 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" -