Staging: this is not the live site, pydocs.org.
Return True if there is a Content-Disposition header and its (case insensitive) value is attachment, False otherwise.
Changed in 3.4.2
- 3.4.2: is_attachment is now a method instead of a property, for consistency with is_multipart().