Add :u shortcut example.

Update trove specifiers, netlib dependency.
This commit is contained in:
Aldo Cortesi 2012-11-16 14:51:31 +13:00
parent af698b2fda
commit 5fb31f9162
2 changed files with 7 additions and 3 deletions

View File

@ -27,7 +27,11 @@
<td>100 random bytes as the body</td> <td>100 random bytes as the body</td>
</tr> </tr>
<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> <td>Add a User-Agent header</td>
</tr> </tr>
<tr> <tr>

View File

@ -80,7 +80,7 @@ setup(
scripts = ["pathod", "pathoc"], scripts = ["pathod", "pathoc"],
classifiers = [ classifiers = [
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha", "Development Status :: 5 - Production/Stable",
"Operating System :: POSIX", "Operating System :: POSIX",
"Programming Language :: Python", "Programming Language :: Python",
"Topic :: Internet", "Topic :: Internet",
@ -89,5 +89,5 @@ setup(
"Topic :: Software Development :: Testing :: Traffic Generation", "Topic :: Software Development :: Testing :: Traffic Generation",
"Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP",
], ],
install_requires=['netlib>=0.2.1', "requests>=0.13", "flask"], install_requires=['netlib>=0.2.2', "requests>=0.13", "flask"],
) )