(self, request, response)
return response
Forces the HTTP ``Vary`` header onto requests to avoid having responses
        cached across subdomains.

        Copied from django-subdomains package.
Forces the HTTP ``Vary`` header onto requests to avoid having responses
        cached across subdomains.
Forces the HTTP Vary header onto requests to avoid having responses cached across subdomains .
def process_response(self, request, response):
        """
        Forces the HTTP ``Vary`` header onto requests to avoid having responses
        cached across subdomains.

        Copied from django-subdomains package.
        """
        if getattr(settings, 'FORCE_VARY_ON_HOST', True):
            patch_vary_headers(response, ('Host',))

        return response
def process_response ( self , request , response ) : if getattr ( settings , 'FORCE_VARY_ON_HOST' , True ) : patch_vary_headers ( response , ( 'Host' , ) ) return response