def decode_response_content(self, response):
        """
        Given an HTTP response, return the decoded data.
        """
        if not response.content:
            return None

        content_type = response.headers.get("content-type")
        decoder = self.get_decoder(content_type)
        return decoder.decode(response)

        Given an HTTP response, return the decoded data.
        
apistar/client/transports.py