Permalink
Browse files

make varnish work

  • Loading branch information...
1 parent 2842607 commit 7c48f1f367fd6bda864a7e11232db10f3b456bfc Dave McLain committed Aug 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 7c48f1f

Please sign in to comment.