[−][src]Function cgi::string_response
pub fn string_response<T, S>(status_code: T, body: S) -> Response where
StatusCode: TryFrom<T>,
<StatusCode as TryFrom<T>>::Error: Into<Error>,
S: Into<String>,
Convert to a string and return that with the status code