#NEWLINE# def headers_received( self , start_line , headers ) : #NEWLINE# #INDENT# if ( headers . get ( 'Content-Encoding' ) == 'gzip' ) : #NEWLINE# #INDENT# self . _decompressor = GzipDecompressor ( ) #NEWLINE# headers . add ( 'X-Consumed-Content-Encoding' , headers [ 'Content-Encoding' ] ) #NEWLINE# del headers [ 'Content-Encoding' ] #NEWLINE# #UNINDENT# return self . _delegate . headers_received ( start_line , headers )