pub fn is_safe_inline_content_type(content_type: &str) -> bool
Available on crate feature
api
and (crate features client
or server
) only.Expand description
Checks whether a given Content-Type
is considered “safe” for having a Content-Disposition
of
inline
returned on /download
, as recommended by the spec.