#NEWLINE# def charset__del( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# header = self . headers . pop ( 'content-type' ) #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# match = _CHARSET_RE . search ( header ) #NEWLINE# if match : #NEWLINE# #INDENT# header = ( header [ : match . start ( ) ] + header [ match . end ( ) : ] ) #NEWLINE# #UNINDENT# self . headers [ 'content-type' ] = header