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