docs(headers): Add more docs to conditional headers

This commit is contained in:
Pyfisch
2015-04-28 17:38:46 +02:00
parent e993f4b544
commit 5a8cd31025
4 changed files with 17 additions and 0 deletions

View File

@@ -19,6 +19,13 @@ header! {
#[doc="```plain"]
#[doc="If-None-Match = \"*\" / 1#entity-tag"]
#[doc="```"]
#[doc=""]
#[doc="# Example values"]
#[doc="* `\"xyzzy\"`"]
#[doc="* `W/\"xyzzy\"`"]
#[doc="* `\"xyzzy\", \"r2d2xxxx\", \"c3piozzzz\"`"]
#[doc="* `W/\"xyzzy\", W/\"r2d2xxxx\", W/\"c3piozzzz\"`"]
#[doc="* `*`"]
(IfNoneMatch, "If-None-Match") => {Any / (EntityTag)+}
test_if_none_match {