Skip to main content

s3_xml_error_response

Function s3_xml_error_response 

Source
pub fn s3_xml_error_response(
    status: StatusCode,
    code: &str,
    message: &str,
    request_id: &str,
) -> (StatusCode, String, Bytes)
Expand description

Build an S3-style XML error response. S3 uses <Error> (not <ErrorResponse>) with different field ordering.