def HTTPResponse__getheaders(self):
 if (self.msg is None):
  raise httplib.ResponseNotReady()
 return self.msg.items()

def HTTPResponse__getheaders ( self ) : if ( self . msg is None ) : raise httplib . ResponseNotReady ( ) return self . msg . items ( )
return list of tuples .