X-Access-Restrictions header in tile renderer
This commit is contained in:
parent
e8f46f77e3
commit
3112db4bae
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ def tile(request, level, zoom, x, y, format):
|
|||
response = HttpResponse(data, content_type)
|
||||
response['ETag'] = etag
|
||||
response['Cache-Control'] = 'no-cache'
|
||||
response['X-Access-Restrictions'] = ', '.join(str(s) for s in renderer.unlocked_access_restrictions) or '0'
|
||||
|
||||
return response
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue