def HasChromeProxyViaHeader(self):
    via_header = self.response.GetHeader('Via')
    if (not via_header):
        return False
    vias = [v.strip(' ') for v in via_header.split(',')]
    return any(((v[4:] == CHROME_PROXY_VIA_HEADER) for v in vias))
def HasChromeProxyViaHeader(self):
    via_header = self.response.GetHeader('Via')
    if (not via_header):
        return False
    vias = [v.strip(' ') for v in via_header.split(',')]
    return any(((v[4:] == CHROME_PROXY_VIA_HEADER) for v in vias))