':param httplib_response:
The wrapped :class:`httplib.HTTPResponse` instance.
:param function content_parser:
Callable which accepts :attr:`.content` as argument,
parses it and returns the parsed data as :class:`dict`.'

def __init__(self, httplib_response, content_parser=None):

    self.httplib_response = httplib_response
    self.content_parser = (content_parser or json_qs_parser)
    self._data = None
    self._content = None
    self.msg = httplib_response.msg
    self.version = httplib_response.version
    self.status = httplib_response.status
    self.reason = httplib_response.reason
