From ef9cbe3b25face06f941a9f92aac5c79821e83bf Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Fri, 16 Nov 2012 11:31:04 +1300 Subject: 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. --- libpathod/templates/docs_lang.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'libpathod/templates/docs_lang.html') 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. + + + uVALUE
uSHORTCUT + + + + 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] }}
+ + + -- cgit v1.2.3