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

@@ -20,6 +20,10 @@ header! {
#[doc="```plain"]
#[doc="If-Match = \"*\" / 1#entity-tag"]
#[doc="```"]
#[doc=""]
#[doc="# Example values"]
#[doc="* `\"xyzzy\"`"]
#[doc="* \"xyzzy\", \"r2d2xxxx\", \"c3piozzzz\""]
(IfMatch, "If-Match") => {Any / (EntityTag)+}
test_if_match {