Skip to main content

content_disposition

Function content_disposition 

Source
pub fn content_disposition(filename: &str) -> String
Expand description

Content-Disposition value that forces a download and keeps non-ASCII file names intact (RFC 6266 / RFC 5987).