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