add X-ETag-Unencoded for debugging purposes
This commit is contained in:
parent
1d18b98199
commit
bc83548da4
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ def tile(request, level, zoom, x, y):
|
|||
|
||||
response = HttpResponse(data, 'image/png')
|
||||
response['ETag'] = etag
|
||||
response['X-ETag-Unencoded'] = '%d-%d-%d-%d:%s:%s' % (level, zoom, x, y, tile_cache_key, settings.SECRET_TILE_KEY)
|
||||
response['Cache-Control'] = 'no-cache'
|
||||
response['Vary'] = 'Cookie'
|
||||
response['X-Access-Restrictions'] = ', '.join(str(s) for s in renderer.unlocked_access_restrictions) or '0'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue