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.py155 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')
Dutil.py166 def AcceptableMimeType(accept_patterns, mime_type): function
Dtransfer.py753 if not util.AcceptableMimeType(upload_config.accept, self.mime_type):