Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/a/t/atlas-HEAD/apps/storybase/tests/base.py   atlas(Download)
        for details.
        """
        content_type = self.get_content_type(format)
        kwargs['content_type'] = content_type
 

src/v/o/vosae-app-HEAD/www/vosae_utils/test.py   vosae-app(Download)
    def post(self, uri, format='json', polymorph_to=None, data=None, authentication=None, **kwargs):
        kwargs.update(**self.handle_tenant_header(uri))
        content_type = self.get_content_type(format)
        kwargs['content_type'] = content_type
        kwargs['HTTP_ACCEPT'] = content_type
    def put(self, uri, format='json', polymorph_to=None, data=None, authentication=None, **kwargs):
        kwargs.update(**self.handle_tenant_header(uri))
        content_type = self.get_content_type(format)
        kwargs['content_type'] = content_type
        kwargs['HTTP_ACCEPT'] = content_type