hyper 0.3.2

A modern HTTP library.
1
2
3
4
5
6
7
8
9
10
11
/// The `Content-Length` header.
///
/// Simply a wrapper around a `u64`.
#[derive(Copy, Clone, PartialEq, Debug)]
pub struct ContentLength(pub u64);

impl_header!(ContentLength,
             "Content-Length",
             u64);

bench_header!(bench, ContentLength, { vec![b"42349984".to_vec()] });