Searched refs:protocol_config (Results 1 – 2 of 2) sorted by relevance
188 self.assertEquals(protobuf, trans.protocol_config.protocol)189 self.assertEquals('default', trans.protocol_config.name)194 self.assertEquals(protojson, trans.protocol_config.protocol)195 self.assertEquals('default', trans.protocol_config.name)198 protocol_config = remote.ProtocolConfig(200 trans = transport.Transport(protocol=protocol_config)202 self.assertTrue(trans.protocol_config is protocol_config)389 protocol_config = remote.ProtocolConfig(protojson, 'json', 'image/png')390 self.connection = self.CreateTransport(self.service_url, protocol_config)
184 def protocol_config(self): member in Transport249 if content_type == self.protocol_config.default_content_type:344 headers={'Content-type': self.protocol_config.default_content_type,