pub async fn write(
paths: &ArtifactPaths,
content_type: Option<&str>,
bytes: &[u8],
) -> Result<PathBuf, Error>Expand description
Write bytes as the body artifact. content_type is consulted to pick
the file extension; unknown types fall back to .bin.