Commit d8f0b4e0 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Fix bug: "quote" input must always be a string

"quote" is method imported from urllib in kamaki.clients
parent 6283b4b4
......@@ -164,7 +164,7 @@ class RequestManager(Logged):
def _encode_headers(self):
headers = self.headers
for k, v in self.headers.items():
headers[k] = quote(v)
headers[k] = quote('' if v is None else '%s' % v)
self.headers = headers
def perform(self, conn):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment