Skip to content

Commit 077c726

Browse files
authored
Merge pull request #13 from jaredbrook/allow%20spaces%20in%20header%20values
Allow spaces in header values for auth headers etc.
2 parents 49f96ef + 07f5be5 commit 077c726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def headers(self):
9292
try:
9393
for u in headers.split(' '):
9494
key = u.split("=")[0]
95-
val = u.split("=")[1]
95+
val = u.split("=")[1].replace('%20',' ')
9696
header_dict[key] = val
9797
return header_dict
9898
except:

0 commit comments

Comments
 (0)