mirror of
https://github.com/kennethreitz/requests3.git
synced 2026-06-05 23:10:16 +00:00
check!
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user