aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-11-16 14:51:31 +1300
committerAldo Cortesi <aldo@nullcube.com>2012-11-16 14:51:31 +1300
commit5fb31f916231e8d76da3a3792e8bf596b93556d4 (patch)
treec2d309dd7ca12a98377c843cf2a4266bed7bf0f0 /libpathod
parentaf698b2fdac9df8b6eac362b4d857ea80e1a81e5 (diff)
downloadmitmproxy-5fb31f916231e8d76da3a3792e8bf596b93556d4.tar.gz
mitmproxy-5fb31f916231e8d76da3a3792e8bf596b93556d4.tar.bz2
mitmproxy-5fb31f916231e8d76da3a3792e8bf596b93556d4.zip
Add :u shortcut example.
Update trove specifiers, netlib dependency.
Diffstat (limited to 'libpathod')
-rw-r--r--libpathod/templates/request_previewform.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/libpathod/templates/request_previewform.html b/libpathod/templates/request_previewform.html
index 263b501e..78884145 100644
--- a/libpathod/templates/request_previewform.html
+++ b/libpathod/templates/request_previewform.html
@@ -27,7 +27,11 @@
<td>100 random bytes as the body</td>
</tr>
<tr>
- <td><a href='/request_preview?spec=get:/:h"User-Agent"="&apos;;drop table browsers;"'>get:/:h"User-Agent"="';drop table browsers;"</a></td>
+ <td><a href='/request_preview?spec=get:/:h"Etag"="&apos;;drop table browsers;"'>get:/:h"Etag"="';drop table browsers;"</a></td>
+ <td>Add a header</td>
+ </tr>
+ <tr>
+ <td><a href='/request_preview?spec=get:/:u"&apos;;drop table browsers;"'>get:/:u"';drop table browsers;"</a></td>
<td>Add a User-Agent header</td>
</tr>
<tr>