Index: third_party/upload.py |
diff --git a/third_party/upload.py b/third_party/upload.py |
index 31542663af90b4a3e344fac6512d6b29195d708b..be13ed3977573dabaa4003a05036ab3df599f81f 100755 |
--- a/third_party/upload.py |
+++ b/third_party/upload.py |
@@ -452,7 +452,7 @@ class AbstractRpcServer(object): |
url = "%s%s" % (self.host, request_path) |
if args: |
url += "?" + urllib.urlencode(args) |
- req = self._CreateRequest(url=url, data=payload) |
+ req = self._CreateRequest(url=url.encode("utf-8"), data=payload) |
req.add_header("Content-Type", content_type) |
if extra_headers: |
for header, value in extra_headers.items(): |