bouillon 0.2.1

A thin, opinionated wrapper around soup that provides an easy, fluent API for sending HTTP requests.
Documentation
1
2
3
4
5
6
7
pub(crate) fn is_client_error(status_code: u32) -> bool {
    (400..=499).contains(&status_code)
}

pub(crate) fn is_server_error(status_code: u32) -> bool {
    (500..=599).contains(&status_code)
}