Multiple headers TODO.

This commit is contained in:
Jakub Roztocil 2013-02-22 13:18:18 +01:00
parent 5f42a21cfb
commit 093dab5896
2 changed files with 3 additions and 3 deletions

View File

@ -15,6 +15,8 @@ try:
except ImportError:
OrderedDict = dict
# TODO: Use MultiDict for headers once added to `requests`.
# https://github.com/jkbr/httpie/issues/130
from requests.structures import CaseInsensitiveDict
from .compat import urlsplit, str
@ -481,9 +483,6 @@ class ParamDict(OrderedDict):
data and URL params.
"""
# NOTE: Won't work when used for form data with multiple values
# for a field and a file field is present:
# https://github.com/kennethreitz/requests/issues/737
if key not in self:
super(ParamDict, self).__setitem__(key, value)
else:

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
#