always patch_vary_headers on Host
This commit is contained in:
parent
89b6463998
commit
77ac20544a
1 changed files with 1 additions and 2 deletions
|
@ -41,7 +41,6 @@ class CMSMultiSiteMiddleware(object):
|
|||
set_urlconf(None)
|
||||
|
||||
def process_response(self, request, response):
|
||||
if getattr(request, 'urlconf', None):
|
||||
patch_vary_headers(response, ('Host',))
|
||||
# set back to default urlconf
|
||||
set_urlconf(None)
|
||||
|
|
Loading…
Reference in a new issue