diff --git a/src/header/common/if_match.rs b/src/header/common/if_match.rs index 9d74dbe3..1210b44c 100644 --- a/src/header/common/if_match.rs +++ b/src/header/common/if_match.rs @@ -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 { diff --git a/src/header/common/if_modified_since.rs b/src/header/common/if_modified_since.rs index 67241b84..59e0c6f2 100644 --- a/src/header/common/if_modified_since.rs +++ b/src/header/common/if_modified_since.rs @@ -14,6 +14,9 @@ header! { #[doc="```plain"] #[doc="If-Unmodified-Since = HTTP-date"] #[doc="```"] + #[doc=""] + #[doc="# Example values"] + #[doc="* `Sat, 29 Oct 1994 19:43:31 GMT`"] (IfModifiedSince, "If-Modified-Since") => [HttpDate] test_if_modified_since { diff --git a/src/header/common/if_none_match.rs b/src/header/common/if_none_match.rs index 697cd7d2..09035011 100644 --- a/src/header/common/if_none_match.rs +++ b/src/header/common/if_none_match.rs @@ -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 { diff --git a/src/header/common/if_unmodified_since.rs b/src/header/common/if_unmodified_since.rs index 9fd3afbd..7ec2e20c 100644 --- a/src/header/common/if_unmodified_since.rs +++ b/src/header/common/if_unmodified_since.rs @@ -14,6 +14,9 @@ header! { #[doc="```plain"] #[doc="If-Unmodified-Since = HTTP-date"] #[doc="```"] + #[doc=""] + #[doc="# Example values"] + #[doc="* `Sat, 29 Oct 1994 19:43:31 GMT`"] (IfUnmodifiedSince, "If-Unmodified-Since") => [HttpDate] test_if_unmodified_since {