Searched refs:AcceptableMimeType (Results 1 – 3 of 3) sorted by relevance
/external/python/apitools/apitools/base/py/ |
D | util_test.py | 155 self.assertTrue(util.AcceptableMimeType([accept], mime_type)) 163 self.assertFalse(util.AcceptableMimeType([accept], mime_type)) 165 self.assertTrue(util.AcceptableMimeType(['application/json', '*/*'], 167 self.assertFalse(util.AcceptableMimeType(['application/json', 'img/*'], 173 util.AcceptableMimeType, ['*/*'], 'abcd') 178 util.AcceptableMimeType, ['text/html;q=0.9'], 'text/html')
|
D | util.py | 166 def AcceptableMimeType(accept_patterns, mime_type): function
|
D | transfer.py | 753 if not util.AcceptableMimeType(upload_config.accept, self.mime_type):
|