Skip to main content

attachment_content_disposition

Function attachment_content_disposition 

Source
pub fn attachment_content_disposition(file_name: &str) -> String
Expand description

Content-Disposition that makes browsers save the file as file_name. The plain filename is an ASCII fallback for clients that ignore the RFC 6266 filename*.