docs(headers): Update documentation of all remaining headers that use macros
This commit is contained in:
@@ -16,9 +16,15 @@ header! {
|
||||
#[doc="```plain"]
|
||||
#[doc="Content-Encoding = 1#content-coding"]
|
||||
#[doc="```"]
|
||||
#[doc=""]
|
||||
#[doc="# Example values"]
|
||||
#[doc="* `gzip`"]
|
||||
(ContentEncoding, "Content-Encoding") => (Encoding)+
|
||||
|
||||
test_content_encoding {}
|
||||
test_content_encoding {
|
||||
/// Testcase from the RFC
|
||||
test_header!(test1, vec![b"gzip"], Some(ContentEncoding(vec![Encoding::Gzip])));
|
||||
}
|
||||
}
|
||||
|
||||
bench_header!(single, ContentEncoding, { vec![b"gzip".to_vec()] });
|
||||
|
||||
Reference in New Issue
Block a user