327
327
% (code, msg, plaintext_body))
329
329
def _debug_cb(self, kind, text):
332
331
self._report_activity(len(text), 'read')
333
332
if (kind == pycurl.INFOTYPE_HEADER_IN
334
333
and 'http' in debug.debug_flags):
335
334
trace.mutter('< %s' % (text.rstrip(),))
338
336
self._report_activity(len(text), 'write')
339
337
if (kind == pycurl.INFOTYPE_HEADER_OUT
340
338
and 'http' in debug.debug_flags):