fix tileserver Content-Length
This commit is contained in:
parent
81d2c32198
commit
2aaa63a103
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ class TileServer:
|
|||
|
||||
start_response('%d %s' % (r.status_code, r.reason), [
|
||||
self.get_date_header(),
|
||||
('Content-Length', len(r.content)),
|
||||
('Content-Length', str(len(r.content))),
|
||||
('Content-Type', r.headers.get('Content-Type', 'text/plain'))
|
||||
])
|
||||
return [r.content]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue