X-Force-View, not X-Forced-View

This commit is contained in:
Gina Häußge 2016-08-18 16:44:44 +02:00
parent f93212b06d
commit 5a38e9a412

View file

@ -329,7 +329,9 @@ def index():
dict())
return preemptively_cached()
forced_view = request.headers.get("X-Forced-View", None)
response = None
forced_view = request.headers.get("X-Force-View", None)
if forced_view:
# we have view forced by the preemptive cache