Home
last modified time | relevance | path

Searched refs:AcceptableMimeType (Results 1 – 3 of 3) sorted by relevance

/external/python/apitools/apitools/base/py/
Dutil_test.py152 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')
Dutil.py160 def AcceptableMimeType(accept_patterns, mime_type): function
Dtransfer.py712 if not util.AcceptableMimeType(upload_config.accept, self.mime_type):