add it again but fix etag header
This commit is contained in:
parent
8f313757ad
commit
317c6d35fa
1 changed files with 2 additions and 1 deletions
|
@ -255,5 +255,6 @@ def map_image(request, area, level):
|
|||
for chunk in File(open(img, 'rb')).chunks():
|
||||
response.write(chunk)
|
||||
|
||||
response['E-Tag'] = etag
|
||||
response['ETag'] = etag
|
||||
response['Cache-Control'] = 'no-cache'
|
||||
return response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue