uhttp_method 0.10.0

HTTP methods split out from hyper.rs
Documentation

This crate provides an HTTP request method parser/formatter, split out from hyper.rs.

Example

use uhttp_method::Method;

assert_eq!("GET".parse(), Ok(Method::Get));
assert!(Method::Get.idempotent());
assert_eq!(format!("{}", Method::Patch), "PATCH");