Function rust_cgi::empty_response
source · pub fn empty_response<T>(status_code: T) -> Response
Expand description
A HTTP Reponse with no body and that HTTP status code, e.g. return rust_cgi::empty_response(404);
to return a HTTP 404 Not Found.