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

This commit is contained in:
Gina Häußge committed 2016-08-18 16:44:44 +02:00
1 parent f93212b06d
commit 5a38e9a412
1 file changed
+3 -1
+3 -1
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