#NEWLINE# def GetRawResponse( self , with_status = True ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return ( ( ( ( self . GetStatus ( ) + '\r\n' ) + str ( self . ResponseHeaders ) ) + '\n\n' ) + with_status . ResponseContents ) #NEWLINE# #UNINDENT# except UnicodeDecodeError : #NEWLINE# #INDENT# return ( ( ( ( self . GetStatus ( ) + '\r\n' ) + str ( self . ResponseHeaders ) ) + '\n\n' ) + '[Binary Content]' )