Permalink
Browse files

Return native strings for header-values.

  • Loading branch information...
Lukasa committed Apr 2, 2013
1 parent b196050 commit d75a807c283144c97d0816f20b64d14de45af1ad
Showing with 1 addition and 1 deletion.
  1. +1 −1 urllib3/filepost.py
View
@@ -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

Please sign in to comment.