Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make varnish work

  • Loading branch information...
commit 7c48f1f367fd6bda864a7e11232db10f3b456bfc 1 parent 2842607
Dave McLain authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  armstrong/esi/middleware.py
View
2  armstrong/esi/middleware.py
@@ -39,5 +39,5 @@ def process_response(self, request, response):
class StoreEsiStatusMiddleware(object):
def process_response(self, request, response):
if hasattr(request, '_esi'):
- response._esi = request._esi
+ response['X-ESI'] = 'true'
return response
Please sign in to comment.
Something went wrong with that request. Please try again.