parameters: (self, failobj=None)
return_statement: return utils.collapse_rfc2231_value(filename).strip()
docstring: Return the filename associated with the payload if present.
  
          The filename is extracted from the Content-Disposition header's
          `filename' parameter, and it is unquoted.  If that header is missing
          the `filename' parameter, this method falls back to looking for the
          `name' parameter.
docstring_summary: Return the filename associated with the payload if present.
docstring_tokens: Return the filename associated with the payload if present .
function: def get_filename(self, failobj=None):
          """Return the filename associated with the payload if present.
  
          The filename is extracted from the Content-Disposition header's
          `filename' parameter, and it is unquoted.  If that header is missing
          the `filename' parameter, this method falls back to looking for the
          `name' parameter.
          """
          missing = object()
          filename = self.get_param('filename', missing, 'content-disposition')
          if filename is missing:
              filename = self.get_param('name', missing, 'content-type')
          if filename is missing:
              return failobj
          return utils.collapse_rfc2231_value(filename).strip()
function_tokens: def get_filename ( self , failobj = None ) : missing = object ( ) filename = self . get_param ( 'filename' , missing , 'content-disposition' ) if filename is missing : filename = self . get_param ( 'name' , missing , 'content-type' ) if filename is missing : return failobj return utils . collapse_rfc2231_value ( filename ) . strip ( )