#NEWLINE# def rewrite_response( resp ) : #NEWLINE# #INDENT# while True : #NEWLINE# #INDENT# data = resp . read ( io . DEFAULT_BUFFER_SIZE ) #NEWLINE# if ( not data ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# resp . writeall ( data )