Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
kamaki
Commits
d8f0b4e0
Commit
d8f0b4e0
authored
Mar 17, 2014
by
Stavros Sachtouris
Browse files
Fix bug: "quote" input must always be a string
"quote" is method imported from urllib in kamaki.clients
parent
6283b4b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
kamaki/clients/__init__.py
View file @
d8f0b4e0
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment