'Given a ``HttpResponse`` coming back from using the ``client``, this
method checks the ``Content-Type`` header & attempts to deserialize the
data based on that.
It returns a Python datastructure (typically a ``dict``) of the
serialized data.'

def deserialize(self, resp):

    return self.serializer.deserialize(resp.content, format=resp[u'Content-Type'])
