projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a1a40e
)
check!
author
Kenneth Reitz
<me@kennethreitz.com>
Thu, 10 Nov 2011 00:26:36 +0000
(16:26 -0800)
committer
Kenneth Reitz
<me@kennethreitz.com>
Thu, 10 Nov 2011 00:26:36 +0000
(16:26 -0800)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index c04e4c51f8d524526197adbb3d6e6a6d7bb257e8..d871e719bb0ed909eca2fe35f9d1ae60d779f344 100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-350,8
+350,6
@@
class Request(object):
body = self._enc_data
content_type = 'application/x-www-form-urlencoded'
- # TODO: Setup cookies.
-
# Add content-type if it wasn't explicitly provided.
if (content_type) and (not 'content-type' in self.headers):
self.headers['Content-Type'] = content_type