docs(headers): Add examples to Accept* headers

This commit is contained in:
Pyfisch
2015-04-28 09:19:35 +02:00
parent 093a29bab7
commit f9d75e4dd3
4 changed files with 28 additions and 39 deletions

View File

@@ -23,6 +23,10 @@ header! {
#[doc="accept-ext = OWS \";\" OWS token [ \"=\" ( token / quoted-string ) ]"]
#[doc="```"]
#[doc=""]
#[doc="# Example values"]
#[doc="* `audio/*; q=0.2, audio/basic` (`*` value won't parse correctly)"]
#[doc="* `text/plain; q=0.5, text/html, text/x-dvi; q=0.8, text/x-c`"]
#[doc=""]
#[doc="# Notes"]
#[doc="* Using always Mime types to represent `media-range` differs from the ABNF."]
#[doc="* **FIXME**: `accept-ext` is not supported."]