plume/download_options
X-Download-Options
This response header is specific to Internet Explorer 8. It instructs the browser to not open a downloaded file directly in the context of the site, preventing potential execution of HTML in the site’s origin. Files must be saved before being opened.
See the Microsoft docs.
Types
An X-Download-Options header value.
pub type DownloadOptions {
NoOpen
}
Constructors
-
NoOpenForces downloaded files to be saved before opening, preventing execution in the site’s context. Plume default.
Values
pub fn to_string(value: DownloadOptions) -> String
Encode as the X-Download-Options header value.