summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hammond <chipx86@chipx86.com>2010-03-10 01:50:04 -0800
committerChristian Hammond <chipx86@chipx86.com>2010-03-10 01:51:22 -0800
commit26540943679090076f5f68ae91c394415bbc5909 (patch)
tree5167aaf63f283813efdc21d8bff42d14f3b051a7
parent665c6af5ad344af0d0b17e53ad93af30e9458a34 (diff)
Revert the change to encode the uploaded content as UTF-8.HEADmaster
The change made to RC1 for fixing diff uploading in some cases actually broke things. The content length was no longer correct, if we even could encode to UTF-8. We now upload the raw bytes once again.
-rwxr-xr-xrbtools/postreview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbtools/postreview.py b/rbtools/postreview.py
index cff06be..2dccc7a 100755
--- a/rbtools/postreview.py
+++ b/rbtools/postreview.py
@@ -656,7 +656,7 @@ class ReviewBoardServer(object):
content_type = "multipart/form-data; boundary=%s" % BOUNDARY
- return content_type, content.encode('utf-8')
+ return content_type, content
class SCMClient(object):