Searched refs:AcceptableMimeType (Results 1 – 3 of 3) sorted by relevance
/external/python/apitools/apitools/base/py/ |
D | util_test.py | 152 self.assertTrue(util.AcceptableMimeType([accept], mime_type)) 160 self.assertFalse(util.AcceptableMimeType([accept], mime_type)) 162 self.assertTrue(util.AcceptableMimeType(['application/json', '*/*'], 164 self.assertFalse(util.AcceptableMimeType(['application/json', 'img/*'], 170 util.AcceptableMimeType, ['*/*'], 'abcd') 175 util.AcceptableMimeType, ['text/html;q=0.9'], 'text/html')
|
D | util.py | 160 def AcceptableMimeType(accept_patterns, mime_type): function
|
D | transfer.py | 712 if not util.AcceptableMimeType(upload_config.accept, self.mime_type):
|