mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
use formatted title so we make sure all browsers will correctly read
them
This commit is contained in:
parent
6845d10460
commit
771d44902a
@ -170,5 +170,5 @@ class Request(object):
|
||||
self.response_chunked = True
|
||||
if not isinstance(value, basestring):
|
||||
value = str(value)
|
||||
self.response_headers.append((name, value.strip()))
|
||||
self.response_headers.append((name.title(), value.strip()))
|
||||
self.start_response_called = True
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user