X-Force-View, not X-Forced-View
This commit is contained in:
parent
f93212b06d
commit
5a38e9a412
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue