diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2012-11-16 11:31:04 +1300 |
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2012-11-16 13:46:42 +1300 |
| commit | ef9cbe3b25face06f941a9f92aac5c79821e83bf (patch) | |
| tree | bc744521b2c66d15cb8febd19632fde3cb4281ec /libpathod/templates | |
| parent | 5d18830f7169fcacac2d23b349a82502bd4171b4 (diff) | |
| download | mitmproxy-ef9cbe3b25face06f941a9f92aac5c79821e83bf.tar.gz mitmproxy-ef9cbe3b25face06f941a9f92aac5c79821e83bf.tar.bz2 mitmproxy-ef9cbe3b25face06f941a9f92aac5c79821e83bf.zip | |
Add u User-agent shortcut.
Usage:
200:ua - Shortcut "a" for Android.
200:u"foo" - Or a value literal
Shortcuts can be listed using the --show-uas argument to pathoc.
Diffstat (limited to 'libpathod/templates')
| -rw-r--r-- | libpathod/templates/docs_lang.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libpathod/templates/docs_lang.html b/libpathod/templates/docs_lang.html index f01d61fb..26672bb2 100644 --- a/libpathod/templates/docs_lang.html +++ b/libpathod/templates/docs_lang.html @@ -155,6 +155,27 @@ calculate a Content-Length header if a body is set. </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> </tbody> </table> </div> |
