#NEWLINE# def from_content_disposition( self , content_disposition ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# filename = to_native_str ( content_disposition , encoding = 'latin-1' , errors = 'replace' ) . split ( ';' ) [ 1 ] . split ( '=' ) [ 1 ] #NEWLINE# filename = filename . strip ( '"\'' ) #NEWLINE# return self . from_filename ( self ) #NEWLINE# #UNINDENT# except IndexError : #NEWLINE# #INDENT# return Response