From 5c0f0c2c221edf9e9d94c0ab4ad809e668f04894 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Mon, 22 Jun 2015 13:11:40 +0200 Subject: http2: update docs --- libpathod/templates/docs_lang_requests.html | 113 ++++++++++++++-------------- 1 file changed, 56 insertions(+), 57 deletions(-) (limited to 'libpathod/templates/docs_lang_requests.html') diff --git a/libpathod/templates/docs_lang_requests.html b/libpathod/templates/docs_lang_requests.html index fe73f0af..92921ec4 100644 --- a/libpathod/templates/docs_lang_requests.html +++ b/libpathod/templates/docs_lang_requests.html @@ -1,113 +1,112 @@ - -
method:path:[colon-separated list of features]

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

- - + - + - + - + - + - + + - + - + - + - + - - + - + - + -- cgit v1.2.3 From 427e6d23ef76ab9f113bce1d17e6a7a8cddb275c Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Fri, 26 Jun 2015 11:47:39 +0200 Subject: apply js-beautify changes selectivly --- libpathod/templates/docs_lang_requests.html | 31 +++++++++++++++-------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'libpathod/templates/docs_lang_requests.html') diff --git a/libpathod/templates/docs_lang_requests.html b/libpathod/templates/docs_lang_requests.html index 92921ec4..81aff535 100644 --- a/libpathod/templates/docs_lang_requests.html +++ b/libpathod/templates/docs_lang_requests.html @@ -7,16 +7,17 @@ @@ -66,8 +67,8 @@ @@ -88,24 +89,24 @@ -- cgit v1.2.3
method method - -

A VALUE specifying the HTTP - method to use. Standard methods do not need to be - enclosed in quotes, while non-standard methods can be - specified as quoted strings.

- -

The special method ws creates a valid - websocket upgrade GET request, and signals to pathoc to - switch to websocket recieve mode if the server responds - correctly. Apart from that, websocket requests are just - like any other, and all aspects of the request can be - over-ridden.

+

+ A VALUE specifying the HTTP method to use. Standard + methods do not need to be enclosed in quotes, while non-standard methods + can be specified as quoted strings. +

+ +

+ The special method ws creates a valid websocket upgrade GET + request, and signals to pathoc to switch to websocket recieve mode + if the server responds correctly. Apart from that, websocket requests + are just like any other, and all aspects of the request can be over-ridden. +

bVALUE hVALUE=VALUE - Set the body. The appropriate Content-Length header is - added automatically unless the "r" flag is set. + Set a header.
cVALUE r - A shortcut for setting the Content-Type header. Equivalent to - h"Content-Type"=VALUE + Set the "raw" flag on this response. Pathod will not calculate a Content-Length header + if a body is set.
dOFFSET cVALUE - Disconnect after OFFSET bytes. + A shortcut for setting the Content-Type header. Equivalent to h"Content-Type"=VALUE
hVALUE=VALUE uVALUE +
uSHORTCUT +
- Set a header. + Set a User-Agent header on this request. You can specify either a complete + VALUE, or a User-Agent shortcut: + + + {% for i in uastrings %} + + + + + {% endfor %} +
{{ i[1] }}{{ i[0] }}
iOFFSET,VALUE bVALUE - Inject the specified value at the offset. + Set the body. The appropriate Content-Length header is added automatically unless the + "r" flag is set.
pOFFSET,SECONDS sVALUE - Pause for SECONDS seconds after OFFSET bytes. SECONDS can - be an integer or "f" to pause forever. + An embedded Response specification, appended to the path of the request.
r xINTEGER - Set the "raw" flag on this response. Pathod will not - calculate a Content-Length header if a body is set. + Repeat this message N times.
sVALUE dOFFSET - An embedded Response specification, appended to the path - of the request. + HTTP/1 only + Disconnect after OFFSET bytes.
uVALUE
uSHORTCUT
iOFFSET,VALUE - - Set a User-Agent header on this request. You can - specify either a complete VALUE, or a User-Agent shortcut: - - - {% for i in uastrings %} - - - - - {% endfor %} -
{{ i[1] }}{{ i[0] }}
- + HTTP/1 only + Inject the specified value at the offset.
xINTEGER pOFFSET,SECONDS - Repeat this message N times. + HTTP/1 only + Pause for SECONDS seconds after OFFSET bytes. SECONDS can be an integer or "f" to pause + forever.
method

- A VALUE specifying the HTTP method to use. Standard - methods do not need to be enclosed in quotes, while non-standard methods - can be specified as quoted strings. + A VALUE specifying the HTTP method to + use. Standard methods do not need to be enclosed in quotes, while + non-standard methods can be specified as quoted strings.

- The special method ws creates a valid websocket upgrade GET - request, and signals to pathoc to switch to websocket recieve mode - if the server responds correctly. Apart from that, websocket requests - are just like any other, and all aspects of the request can be over-ridden. + The special method ws creates a valid websocket upgrade + GET request, and signals to pathoc to switch to websocket recieve + mode if the server responds correctly. Apart from that, websocket + requests are just like any other, and all aspects of the request + can be over-ridden.

bVALUE - Set the body. The appropriate Content-Length header is added automatically unless the - "r" flag is set. + Set the body. The appropriate Content-Length header is added automatically unless + the "r" flag is set.
dOFFSET - HTTP/1 only - Disconnect after OFFSET bytes. + HTTP/1 only Disconnect after + OFFSET bytes.
iOFFSET,VALUE - HTTP/1 only - Inject the specified value at the offset. + HTTP/1 only Inject the specified + value at the offset.
pOFFSET,SECONDS - HTTP/1 only - Pause for SECONDS seconds after OFFSET bytes. SECONDS can be an integer or "f" to pause + HTTP/1 only Pause for SECONDS + seconds after OFFSET bytes. SECONDS can be an integer or "f" to pause forever.