diff --git a/libpathod/templates/docs_lang.html b/libpathod/templates/docs_lang.html index 9999282df..46f5f4012 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. +
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 +
cVALUE - A shortcut for setting the Content-Type header. Equivalent to - h"Content-Type"=VALUE -
iOFFSET,VALUE + Inject the specified value at the offset. +
iOFFSET,VALUE - Inject the specified value at the offset. -
lVALUE + A shortcut for setting the Location header. Equivalent to + h"Location"=VALUE +
lVALUE - A shortcut for setting the Location header. Equivalent to - h"Location"=VALUE -
dOFFSET + Disconnect after OFFSET bytes. +
dOFFSET - Disconnect after OFFSET bytes. -
pOFFSET,SECONDS + Pause for SECONDS seconds after OFFSET bytes. SECONDS can + be an integer or "f" to pause forever. +
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]

- - - - - - +
+

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. -
+ + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - - -
hVALUE=VALUE + Set a header. +
cVALUE - A shortcut for setting the Content-Type header. Equivalent to - h"Content-Type"=VALUE -
bVALUE + Set the body. When the body is set, pathod will + automatically set the appropriate Content-Length header. +
iOFFSET,VALUE - Inject the specified value at the offset. -
cVALUE + A shortcut for setting the Content-Type header. Equivalent to + h"Content-Type"=VALUE +
dOFFSET - Disconnect after OFFSET bytes. -
iOFFSET,VALUE + Inject the specified value at the offset. +
pOFFSET,SECONDS - Pause for SECONDS seconds after OFFSET bytes. SECONDS can - be an integer or "f" to pause forever. -
dOFFSET + Disconnect after OFFSET bytes. +
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. -
+ + 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. + + + + + + +
diff --git a/libpathod/templates/docs_pathod.html b/libpathod/templates/docs_pathod.html index c35d9ab83..a135da956 100644 --- a/libpathod/templates/docs_pathod.html +++ b/libpathod/templates/docs_pathod.html @@ -31,7 +31,6 @@ various other goodies. Try it by visiting the server root:

http://localhost:9999
-