          Then tries to parse Content-Disposition header.
          """
          try:
              return parser_context['kwargs']['filename']
          except KeyError:
              pass
  
          try:
              meta = parser_context['request'].META
              disposition, params = parse_header_parameters(meta['HTTP_CONTENT_DISPOSITION'])
              if 'filename*' in params:
 
</s> remove         try:
 </s> add         with contextlib.suppress(AttributeError, KeyError, ValueError): </s> remove         try:
 </s> add         with contextlib.suppress(KeyError): </s> remove             else:
                return params['filename']
        except (AttributeError, KeyError, ValueError):
            pass
 </s> add             return params['filename'] </s> remove             except FieldDoesNotExist:
                pass
 </s> add  </s> remove                 except TypeError:
                    pass

 </s> add 
          Then tries to parse Content-Disposition header.
          """
          try:
              return parser_context['kwargs']['filename']


  
          try:
              meta = parser_context['request'].META
              disposition, params = parse_header_parameters(meta['HTTP_CONTENT_DISPOSITION'])
              if 'filename*' in params:
keep keep keep keep replace replace keep keep keep keep keep
 Refactor: Replace try/except with contextlib.suppress() (#8676) 
rest_framework/parsers.py