Lines Matching refs:resp
54 resp = self.response
56 if resp.url.startswith('https') or resp.url.startswith('data:'):
59 if resp.status == 304 or resp.served_from_cache:
62 if not resp.headers:
65 resp.url, resp.GetHeader('Referer'), resp.status)
122 for resp in self.IterResponses(tab):
123 if resp.response.served_from_cache:
125 if resp.HasChromeProxyViaHeader():
142 for resp in self.IterResponses(tab):
143 if resp.IsValidByViaHeader():
148 logging.warning('Proxy bypassed for %s', resp.response.url)
151 r = resp.response
161 for resp in self.IterResponses(tab):
162 r = resp.response
163 if resp.response.status != 200:
166 if not resp.IsValidByViaHeader():
232 for resp in self.IterResponses(tab):
233 if resp.HasChromeProxyViaHeader():
234 r = resp.response
254 for resp in self.IterResponses(tab):
255 if resp.ShouldHaveChromeProxyViaHeader():
257 if not resp.HasChromeProxyViaHeader():
287 for resp in self.IterResponses(tab):
289 if resp.IsSafebrowsingResponse():
292 r = resp.response