parameters: (self)
return_statement: return output
docstring: Converts to a printable string for debugging purposes.
      
      In order to preserve the request, it does not read from file-like objects
      in the body.
docstring_summary: Converts to a printable string for debugging purposes.
      
      In order to preserve the request, it does not read from file-like objects
      in the body.
docstring_tokens: Converts to a printable string for debugging purposes . In order to preserve the request it does not read from file - like objects in the body .
function: def _dump(self):
      """Converts to a printable string for debugging purposes.
      
      In order to preserve the request, it does not read from file-like objects
      in the body.
      """
      output =  'HTTP Request\n  method: %s\n  url: %s\n  headers:\n' % (
          self.method, str(self.uri))
      for header, value in self.headers.iteritems():
        output += '    %s: %s\n' % (header, value)
      output += '  body sections:\n'
      i = 0
      for part in self._body_parts:
        if isinstance(part, (str, unicode)):
          output += '    %s: %s\n' % (i, part)
        else:
          output += '    %s: <file like object>\n' % i
        i += 1
      return output
function_tokens: def _dump ( self ) : output = 'HTTP Request\n  method: %s\n  url: %s\n  headers:\n' % ( self . method , str ( self . uri ) ) for header , value in self . headers . iteritems ( ) : output += '    %s: %s\n' % ( header , value ) output += '  body sections:\n' i = 0 for part in self . _body_parts : if isinstance ( part , ( str , unicode ) ) : output += '    %s: %s\n' % ( i , part ) else : output += '    %s: <file like object>\n' % i i += 1 return output