aboutsummaryrefslogtreecommitdiff
path: root/requests/packages/urllib3/filepost.py
diff options
context:
space:
mode:
Diffstat (limited to 'requests/packages/urllib3/filepost.py')
-rw-r--r--requests/packages/urllib3/filepost.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/requests/packages/urllib3/filepost.py b/requests/packages/urllib3/filepost.py
index 8d900bd..470309a 100644
--- a/requests/packages/urllib3/filepost.py
+++ b/requests/packages/urllib3/filepost.py
@@ -93,6 +93,6 @@ def encode_multipart_formdata(fields, boundary=None):
body.write(b('--%s--\r\n' % (boundary)))
- content_type = b('multipart/form-data; boundary=%s' % boundary)
+ content_type = str('multipart/form-data; boundary=%s' % boundary)
return body.getvalue(), content_type