pub(crate) async fn get_content_as_filename_legacy_route(
__arg0: State<State>,
__arg1: ClientIp,
body: Args<Request>,
) -> Result<Response>Expand description
ยงGET /_matrix/media/v3/download/{serverName}/{mediaId}/{fileName}
Load media from our server or over federation, permitting desired filename.
- Only allows federation if
allow_remoteis true - Only redirects if
allow_redirectis true - Uses client-provided
timeout_msif available, else defaults to 20 seconds