File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 435435
436436\begin {methoddesc }[Message]{get_filename}{\optional {failobj}}
437437Return the value of the \code {filename} parameter of the
438- \mailheader {Content-Disposition} header of the message, or \var {failobj} if
439- either the header is missing, or has no \code {filename} parameter.
440- The returned string will always be unquoted as per
441- \method {Utils.unquote()}.
438+ \mailheader {Content-Disposition} header of the message. If the header does
439+ not have a \code {filename} parameter, this method falls back to looking for
440+ the \code {name} parameter. If neither is found, or the header is missing,
441+ then \var {failobj} is returned. The returned string will always be unquoted
442+ as per \method {Utils.unquote()}.
442443\end {methoddesc }
443444
444445\begin {methoddesc }[Message]{get_boundary}{\optional {failobj}}
You can’t perform that action at this time.
0 commit comments