def debug_processor(self, _type, text):
        """
        Process request details.

        0: CURLINFO_TEXT
        1: CURLINFO_HEADER_IN
        2: CURLINFO_HEADER_OUT
        3: CURLINFO_DATA_IN
        4: CURLINFO_DATA_OUT
        5: CURLINFO_unrecognized_type
        """
        if _type == pycurl.INFOTYPE_HEADER_OUT:
            if isinstance(text, six.text_type):
                text = text.encode('utf-8')
            self.request_head += text

        if _type == pycurl.INFOTYPE_DATA_OUT:
            # Untill 7.19.5.2 version
            # pycurl gives unicode in `text` variable
            # WTF??? Probably that codes would fails
            # or does unexpected things if you use
            # pycurl<7.19.5.2
            if isinstance(text, six.text_type):
                text = text.encode('utf-8')
            self.request_body += text

        #if _type == pycurl.INFOTYPE_TEXT:
        #    if self.request_log is None:
        #        self.request_log = ''
        #    self.request_log += text

        if self.verbose_logging:
            if _type in (pycurl.INFOTYPE_TEXT, pycurl.INFOTYPE_HEADER_IN,
                         pycurl.INFOTYPE_HEADER_OUT):
                marker_types = {
                    pycurl.INFOTYPE_TEXT: 'i',
                    pycurl.INFOTYPE_HEADER_IN: '<',
                    pycurl.INFOTYPE_HEADER_OUT: '>',
                }
                marker = marker_types[_type]
                logger.debug('%s: %s', marker, text.rstrip())
Process request details.

        0: CURLINFO_TEXT
        1: CURLINFO_HEADER_IN
        2: CURLINFO_HEADER_OUT
        3: CURLINFO_DATA_IN
        4: CURLINFO_DATA_OUT
        5: CURLINFO_unrecognized_type