#NEWLINE# def __init__( self , response ) : #NEWLINE# #INDENT# self . response = response #NEWLINE# self . body = response . read ( ) #NEWLINE# self . parseContentType ( self . response . getheader ( 'Content-Type' ) ) #NEWLINE# self . encoding = self . ctypeParameters [ 'charset' ]