'Construct an API request.'

def request(self, *args, **kwargs):

    if isinstance(kwargs.get('CONTENT_TYPE'), basestring):
        kwargs['CONTENT_TYPE'] = str(kwargs['CONTENT_TYPE'])
    return super(PatchedClient, self).request(*args, **kwargs)
