From 5c0f0c2c221edf9e9d94c0ab4ad809e668f04894 Mon Sep 17 00:00:00 2001
From: Thomas Kriechbaumer method:path:[colon-separated list of features]
method:path:[colon-separated list of features]+
| 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:
+
+
|
||
| 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:
-
-
|
||
| 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. |
@@ -66,8 +67,8 @@
| 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. |