Permalink
Browse files
Return native strings for header-values.
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
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
|
0 comments on commit
d75a807