Module ruma::api::client::media

source ·
Available on (crate features client-api-c or client-api-s) and (crate features client or server) and crate feature api only.
Expand description

Endpoints and helpers for the media repository.

Modules§

Functions§

  • Checks whether a given Content-Type is considered “safe” for having a Content-Disposition of inline returned on /download, as recommended by the spec.