From adac9a35c3b0f7fb46a47495950ce5ca2dcc80e3 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 25 Jul 2012 12:36:53 +1200 Subject: Use tabs for request/response definitions on language docs page. --- libpathod/templates/docs_lang.html | 276 ++++++++++++++++++------------------- 1 file changed, 137 insertions(+), 139 deletions(-) (limited to 'libpathod/templates/docs_lang.html') diff --git a/libpathod/templates/docs_lang.html b/libpathod/templates/docs_lang.html index 9999282d..46f5f401 100644 --- a/libpathod/templates/docs_lang.html +++ b/libpathod/templates/docs_lang.html @@ -8,152 +8,150 @@ + + +
+
+

The general form of a response is as follows:

+ +
code[MESSAGE]:[colon-separated list of features]

-
- + + + + + + -

The general form of a response is as follows:

- -
code[MESSAGE]:[colon-separated list of features]

- -
hVALUE=VALUE + Set a header. +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
hVALUE=VALUE - Set a header. -
bVALUE - Set the body. When the body is set, pathod will - automatically set the appropriate Content-Length header. -
cVALUE - A shortcut for setting the Content-Type header. Equivalent to - h"Content-Type"=VALUE -
iOFFSET,VALUE - Inject the specified value at the offset. -
lVALUE - A shortcut for setting the Location header. Equivalent to - h"Location"=VALUE -
dOFFSET - Disconnect after OFFSET bytes. -
pOFFSET,SECONDS - Pause for SECONDS seconds after OFFSET bytes. SECONDS can - be an integer or "f" to pause forever. -
r - Set the "raw" flag on this response. Pathod will not - calculate a Content-Length header if a body is set, or add - a Date header to the response. -
-
+ + bVALUE + + Set the body. When the body is set, pathod will + automatically set the appropriate Content-Length header. + + + + cVALUE + + A shortcut for setting the Content-Type header. Equivalent to + h"Content-Type"=VALUE + + -
- -

The general form of a request is as follows:

- -
method:path:[colon-separated list of features]

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
hVALUE=VALUE - Set a header. -
bVALUE - Set the body. When the body is set, pathod will - automatically set the appropriate Content-Length header. -
cVALUE - A shortcut for setting the Content-Type header. Equivalent to - h"Content-Type"=VALUE -
iOFFSET,VALUE - Inject the specified value at the offset. -
dOFFSET - Disconnect after OFFSET bytes. -
pOFFSET,SECONDS - Pause for SECONDS seconds after OFFSET bytes. SECONDS can - be an integer or "f" to pause forever. -
r - Set the "raw" flag on this response. Pathod will not - calculate a Content-Length header if a body is set, or add - a Date header to the response. -
-
+
+

The general form of a request is as follows:

+ +
method:path:[colon-separated list of features]

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
hVALUE=VALUE + Set a header. +
bVALUE + Set the body. When the body is set, pathod will + automatically set the appropriate Content-Length header. +
cVALUE + A shortcut for setting the Content-Type header. Equivalent to + h"Content-Type"=VALUE +
iOFFSET,VALUE + Inject the specified value at the offset. +
dOFFSET + Disconnect after OFFSET bytes. +
pOFFSET,SECONDS + Pause for SECONDS seconds after OFFSET bytes. SECONDS can + be an integer or "f" to pause forever. +
r + Set the "raw" flag on this response. Pathod will not + calculate a Content-Length header if a body is set, or add + a Date header to the response. +
+
+ +
-- cgit v1.2.3