Require Requests v1.0.3.

This commit is contained in:
Jakub Roztocil 2012-12-19 12:30:20 +01:00
parent e5edb66ae8
commit fe16f425a9
3 changed files with 4 additions and 2 deletions

View File

@ -1101,6 +1101,7 @@ Changelog
*You can click a version name to see a diff with the previous one.*
* `0.4.0-alpha`_
* Requests v1.0.3.
* Added `httpie` management command.
* Added support for credentials in URL.
* Added ``--no-option`` for every ``--option`` to be config-friendly.

View File

@ -148,10 +148,11 @@ class Session(BaseConfigDict):
@cookies.setter
def cookies(self, jar):
# http://docs.python.org/2/library/cookielib.html#cookie-objects
excluded = [
'_rest', 'name', 'port_specified',
'domain_specified', 'domain_initial_dot',
'path_specified', 'comment', 'comment_url'
'path_specified', 'comment', 'comment_url',
]
self['cookies'] = {}
for host in jar._cookies.values():

View File

@ -13,7 +13,7 @@ if sys.argv[-1] == 'test':
requirements = [
# Debian has only requests==0.10.1 and httpie.deb depends on that.
'requests>=0.10.1',
'requests>=1.0.3',
'Pygments>=1.5'
]
if sys.version_info[:2] in ((2, 6), (3, 1)):