Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug fix (Issue #8): Had a LF+CR instead of CR+LF, fixed (Thanks to ma…

…nifesto.za for the bug report)
  • Loading branch information...
commit d4caff242edfe325aae3497b7a37895e38ff659f 1 parent 3fcc5ba
@shazow authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  urllib3/filepost.py
View
2  urllib3/filepost.py
@@ -68,7 +68,7 @@ def encode_multipart_formdata(fields):
'value': str(value)
}
- body += '--%s--\n\r' % BOUNDARY
+ body += '--%s--\r\n' % BOUNDARY
content_type = 'multipart/form-data; boundary=%s' % BOUNDARY
return body, content_type
Please sign in to comment.
Something went wrong with that request. Please try again.