Skip to main content

response_with

Function response_with 

Source
fn response_with(
    status: &str,
    message: String,
    finished: Option<&Finished>,
    inline: bool,
) -> Response
Expand description

As response; with inline the file’s bytes go in the answer too, for a caller that cannot read this machine’s folders (a container agent). A file that cannot be read back is left out, and the answer still names it.