mirror of
https://github.com/httpie/cli.git
synced 2024-11-23 00:03:18 +01:00
Require Requests v1.0.3.
This commit is contained in:
parent
e5edb66ae8
commit
fe16f425a9
@ -1101,6 +1101,7 @@ Changelog
|
|||||||
*You can click a version name to see a diff with the previous one.*
|
*You can click a version name to see a diff with the previous one.*
|
||||||
|
|
||||||
* `0.4.0-alpha`_
|
* `0.4.0-alpha`_
|
||||||
|
* Requests v1.0.3.
|
||||||
* Added `httpie` management command.
|
* Added `httpie` management command.
|
||||||
* Added support for credentials in URL.
|
* Added support for credentials in URL.
|
||||||
* Added ``--no-option`` for every ``--option`` to be config-friendly.
|
* Added ``--no-option`` for every ``--option`` to be config-friendly.
|
||||||
|
@ -148,10 +148,11 @@ class Session(BaseConfigDict):
|
|||||||
|
|
||||||
@cookies.setter
|
@cookies.setter
|
||||||
def cookies(self, jar):
|
def cookies(self, jar):
|
||||||
|
# http://docs.python.org/2/library/cookielib.html#cookie-objects
|
||||||
excluded = [
|
excluded = [
|
||||||
'_rest', 'name', 'port_specified',
|
'_rest', 'name', 'port_specified',
|
||||||
'domain_specified', 'domain_initial_dot',
|
'domain_specified', 'domain_initial_dot',
|
||||||
'path_specified', 'comment', 'comment_url'
|
'path_specified', 'comment', 'comment_url',
|
||||||
]
|
]
|
||||||
self['cookies'] = {}
|
self['cookies'] = {}
|
||||||
for host in jar._cookies.values():
|
for host in jar._cookies.values():
|
||||||
|
2
setup.py
2
setup.py
@ -13,7 +13,7 @@ if sys.argv[-1] == 'test':
|
|||||||
|
|
||||||
requirements = [
|
requirements = [
|
||||||
# Debian has only requests==0.10.1 and httpie.deb depends on that.
|
# Debian has only requests==0.10.1 and httpie.deb depends on that.
|
||||||
'requests>=0.10.1',
|
'requests>=1.0.3',
|
||||||
'Pygments>=1.5'
|
'Pygments>=1.5'
|
||||||
]
|
]
|
||||||
if sys.version_info[:2] in ((2, 6), (3, 1)):
|
if sys.version_info[:2] in ((2, 6), (3, 1)):
|
||||||
|
Loading…
Reference in New Issue
Block a user