diff options
| author | Aldo Cortesi <aldo@corte.si> | 2016-02-17 10:35:41 +1300 |
|---|---|---|
| committer | Aldo Cortesi <aldo@corte.si> | 2016-02-17 10:35:41 +1300 |
| commit | 887ecf88967fe6caf8f8d5443e49b6bfcfbfcd0d (patch) | |
| tree | 4c3b4f9cc555a945ddbeeb1b179070ef98b2eeff /pathod/libpathod/templates/docs_lang_requests.html | |
| parent | ef8e95956d938fd4891d79fdbfa83f8a77a482cb (diff) | |
| parent | b87797ea255a0e2058e0574a5a00150f7f2df5db (diff) | |
| download | mitmproxy-887ecf88967fe6caf8f8d5443e49b6bfcfbfcd0d.tar.gz mitmproxy-887ecf88967fe6caf8f8d5443e49b6bfcfbfcd0d.tar.bz2 mitmproxy-887ecf88967fe6caf8f8d5443e49b6bfcfbfcd0d.zip | |
Merge pull request #950 from Kriechi/rename
Rename lib folders
Diffstat (limited to 'pathod/libpathod/templates/docs_lang_requests.html')
| -rw-r--r-- | pathod/libpathod/templates/docs_lang_requests.html | 114 |
1 files changed, 0 insertions, 114 deletions
diff --git a/pathod/libpathod/templates/docs_lang_requests.html b/pathod/libpathod/templates/docs_lang_requests.html deleted file mode 100644 index 81aff535..00000000 --- a/pathod/libpathod/templates/docs_lang_requests.html +++ /dev/null @@ -1,114 +0,0 @@ -<pre class="example">method:path:[colon-separated list of features]</pre> -</p> - -<table class="table table-bordered"> - <tbody> - <tr> - <td>method</td> - <td> - <p> - A <a href="#valuespec">VALUE</a> 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. - </p> - - <p> - The special method <b>ws</b> 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. - </p> - </td> - </tr> - - <tr> - <td>h<a href="#valuespec">VALUE</a>=<a href="#valuespec">VALUE</a></td> - <td> - Set a header. - </td> - </tr> - - <tr> - <td>r</td> - <td> - Set the "raw" flag on this response. Pathod will not calculate a Content-Length header - if a body is set. - </td> - </tr> - - <tr> - <td>c<a href="#valuespec">VALUE</a></td> - <td> - A shortcut for setting the Content-Type header. Equivalent to h"Content-Type"=VALUE - </td> - </tr> - - <tr> - <td>u<a href="#valuespec">VALUE</a> - <br> uSHORTCUT - </td> - - <td> - Set a User-Agent header on this request. You can specify either a complete - <a href="#valuespec">VALUE</a>, or a User-Agent shortcut: - - <table class="table table-condensed"> - {% for i in uastrings %} - <tr> - <td><b>{{ i[1] }}</b></td> - <td>{{ i[0] }}</td> - </tr> - {% endfor %} - </table> - </td> - </tr> - - <tr> - <td>b<a href="#valuespec">VALUE</a></td> - <td> - Set the body. The appropriate Content-Length header is added automatically unless - the "r" flag is set. - </td> - </tr> - - <tr> - <td>s<a href="#valuespec">VALUE</a></td> - <td> - An embedded Response specification, appended to the path of the request. - </td> - </tr> - - <tr> - <td>x<a href="#valuespec">INTEGER</a></td> - <td> - Repeat this message N times. - </td> - </tr> - - <tr> - <td>d<a href="#offsetspec">OFFSET</a></td> - <td> - <span class="badge badge-info">HTTP/1 only</span> Disconnect after - OFFSET bytes. - </td> - </tr> - - <tr> - <td>i<a href="#offsetspec">OFFSET</a>,<a href="#valuespec">VALUE</a></td> - <td> - <span class="badge badge-info">HTTP/1 only</span> Inject the specified - value at the offset. - </td> - </tr> - - <tr> - <td>p<a href="#offsetspec">OFFSET</a>,SECONDS</td> - <td> - <span class="badge badge-info">HTTP/1 only</span> Pause for SECONDS - seconds after OFFSET bytes. SECONDS can be an integer or "f" to pause - forever. - </td> - </tr> - </tbody> -</table> |
