Home
last modified time | relevance | path

Searched refs:content_types (Results 1 – 4 of 4) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/webapp/
Dservice_handlers.py176 content_types=None): argument
190 if content_types is None:
191 content_types = []
193 content_types)
204 def content_types(self): member in RPCMapper
561 if content_type in mapper.content_types:
727 content_types=_EXTRA_JSON_CONTENT_TYPES)
Dservice_handlers_test.py272 self.rpc_mapper1.content_types = set(['application/x-www-form-urlencoded'])
276 self.rpc_mapper2.content_types = set(['application/json'])
881 mapper.content_types)
892 content_types=['a', 'b'])
897 mapper.content_types)
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dremote.py1072 for content_type in sorted(self.content_types):
1095 def content_types(self): member in ProtocolConfig
1154 for content_type in config.content_types:
1160 self.__by_content_type.update((t, config) for t in config.content_types)
1174 def content_types(self): member in Protocols
Dremote_test.py757 config.content_types)
775 'text/json'), config.content_types)
784 self.assertEquals(('application/json',), config.content_types)
829 self.assertEquals((), self.protocols.content_types)
840 self.protocols.content_types)
848 self.assertEquals(('text/plain',), self.protocols.content_types)
857 self.protocols.content_types)