[−][src]Function httptest::responders::status_code
pub fn status_code(code: u16) -> ResponseBuilder<&'static str>
respond with the provided status code and an empty body.
pub fn status_code(code: u16) -> ResponseBuilder<&'static str>
respond with the provided status code and an empty body.