[−][src]Function rocket_okapi::util::set_content_type
pub fn set_content_type(
responses: &mut Responses,
content_type: impl ToString
) -> Result<()>
Replaces the Content-Type for all responses with content_type
.
pub fn set_content_type(
responses: &mut Responses,
content_type: impl ToString
) -> Result<()>
Replaces the Content-Type for all responses with content_type
.