@@ -24,7 +24,7 @@ def handler_headers(response):
|
||||
response.headers['Content-Type'] = response.content_type
|
||||
for key in response.headers:
|
||||
value = response.headers[key]
|
||||
raw += key.encode() + b': ' + value.encode() + NEWLINE
|
||||
raw += key.encode() + b': ' + str(value).encode() + NEWLINE
|
||||
raw += NEWLINE
|
||||
return raw
|
||||
|
||||
|
||||
Reference in New Issue
Block a user