empty_response

Function 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 cgi::empty_response(404); to return a HTTP 404 Not Found.