Skip to main content

xml_response

Function xml_response 

Source
pub fn xml_response(
    status: StatusCode,
    body: String,
    etag: Option<&str>,
) -> Response<HttpBody>
Expand description

Build an XML response with ETag, Content-Type, and optional Location headers.