Home | History | Annotate | Download | only in httplib2

Lines Matching refs:has_key

221     if headers.has_key('cache-control'):
246 if headers.has_key(headername):
301 if request_headers.has_key('pragma') and request_headers['pragma'].lower().find('no-cache') != -1:
305 elif cc.has_key('no-cache'):
307 elif cc_response.has_key('no-cache'):
309 elif cc.has_key('only-if-cached'):
311 elif response_headers.has_key('date'):
315 if cc_response.has_key('max-age'):
320 elif response_headers.has_key('expires'):
328 if cc.has_key('max-age'):
333 if cc.has_key('min-fresh'):
365 if cc.has_key('no-store') or cc_response.has_key('no-store'):
500 if not response.has_key('authentication-info'):
509 if updated_challenge.has_key('nextnonce'):
840 if challenges.has_key(scheme):
923 if not response.has_key('location') and response.status != 300:
926 if response.has_key('location'):
933 if not response.has_key('content-location'):
936 if headers.has_key('if-none-match'):
938 if headers.has_key('if-modified-since'):
940 if response.has_key('location'):
943 if not old_response.has_key('content-location'):
952 if not response.has_key('content-location'):
993 if not headers.has_key('user-agent'):
1045 if method in self.optimistic_concurrency_methods and self.cache and info.has_key('etag') and not self.ignore_etag and 'if-match' not in headers:
1066 if info.has_key('-x-permanent-redirect-url'):
1092 if info.has_key('etag') and not self.ignore_etag and not 'if-none-match' in headers:
1094 if info.has_key('last-modified') and not 'last-modified' in headers:
1124 if cc.has_key('only-if-cached'):