#NEWLINE# def __init__( self , response ) : #NEWLINE# #INDENT# self . body = response . read ( ) #NEWLINE# self . status = response . status #NEWLINE# self . headers = dict ( response . getheaders ( ) ) #NEWLINE# self . error = response . reason #NEWLINE# if self . success ( ) : #NEWLINE# #INDENT# self . object = self . parse_body ( )