Ignore:
Timestamp:
Nov 13, 2008, 10:53:12 AM (11 years ago)
Author:
julian.reschke@…
Message:

Rewrite header ABNFs to spell out whitespace rules, factor out value format definitions. (related to #36)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p2-semantics.xml

    r357 r366  
    18091809</t>
    18101810<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Allow"/><iref primary="true" item="Grammar" subitem="Allow-v"/>
    1811   <x:ref>Allow</x:ref>   = "Allow" <x:ref>BWS</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>Allow-v</x:ref>
     1811  <x:ref>Allow</x:ref>   = "Allow" ":" <x:ref>OWS</x:ref> <x:ref>Allow-v</x:ref>
    18121812  <x:ref>Allow-v</x:ref> = #<x:ref>Method</x:ref>
    18131813</artwork></figure>
     
    18421842</t>
    18431843<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Expect"/><iref primary="true" item="Grammar" subitem="Expect-v"/><iref primary="true" item="Grammar" subitem="expectation"/><iref primary="true" item="Grammar" subitem="expectation-extension"/><iref primary="true" item="Grammar" subitem="expect-params"/>
    1844   <x:ref>Expect</x:ref>       = "Expect" <x:ref>BWS</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>Expect-v</x:ref>
     1844  <x:ref>Expect</x:ref>       = "Expect" ":" <x:ref>OWS</x:ref> <x:ref>Expect-v</x:ref>
    18451845  <x:ref>Expect-v</x:ref>     = 1#<x:ref>expectation</x:ref>
    18461846 
     
    18981898</t>
    18991899<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="From"/><iref primary="true" item="Grammar" subitem="From-v"/>
    1900   <x:ref>From</x:ref>    = "From" <x:ref>BWS</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>From-v</x:ref>
     1900  <x:ref>From</x:ref>    = "From" ":" <x:ref>OWS</x:ref> <x:ref>From-v</x:ref>
    19011901  <x:ref>From-v</x:ref>  = <x:ref>mailbox</x:ref>
    19021902 
     
    19491949</t>
    19501950<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Location"/><iref primary="true" item="Grammar" subitem="Location-v"/>
    1951   <x:ref>Location</x:ref>       = "Location" <x:ref>BWS</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>Location-v</x:ref>
     1951  <x:ref>Location</x:ref>       = "Location" ":" <x:ref>OWS</x:ref> <x:ref>Location-v</x:ref>
    19521952  <x:ref>Location-v</x:ref>     = <x:ref>absoluteURI</x:ref> [ "#" <x:ref>fragment</x:ref> ]
    19531953</artwork></figure>
     
    19911991</t>
    19921992<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Max-Forwards"/><iref primary="true" item="Grammar" subitem="Max-Forwards-v"/>
    1993   <x:ref>Max-Forwards</x:ref>   = "Max-Forwards" <x:ref>BWS</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>Max-Forwards-v</x:ref>
     1993  <x:ref>Max-Forwards</x:ref>   = "Max-Forwards" ":" <x:ref>OWS</x:ref> <x:ref>Max-Forwards-v</x:ref>
    19941994  <x:ref>Max-Forwards-v</x:ref> = 1*<x:ref>DIGIT</x:ref>
    19951995</artwork></figure>
     
    20312031</t>
    20322032<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Referer"/><iref primary="true" item="Grammar" subitem="Referer-v"/>
    2033   <x:ref>Referer</x:ref>        = "Referer" <x:ref>BWS</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>Referer-v</x:ref>
     2033  <x:ref>Referer</x:ref>        = "Referer" ":" <x:ref>OWS</x:ref> <x:ref>Referer-v</x:ref>
    20342034  <x:ref>Referer-v</x:ref>      = <x:ref>absoluteURI</x:ref> / <x:ref>relativeURI</x:ref>
    20352035</artwork></figure>
     
    20622062</t>
    20632063<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Retry-After"/><iref primary="true" item="Grammar" subitem="Retry-After-v"/>
    2064   <x:ref>Retry-After</x:ref>   = "Retry-After" <x:ref>BWS</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>Retry-After-v</x:ref>
     2064  <x:ref>Retry-After</x:ref>   = "Retry-After" ":" <x:ref>OWS</x:ref> <x:ref>Retry-After-v</x:ref>
    20652065  <x:ref>Retry-After-v</x:ref> = <x:ref>HTTP-date</x:ref> / <x:ref>delta-seconds</x:ref>
    20662066</artwork></figure>
     
    20992099</t>
    21002100<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Server"/><iref primary="true" item="Grammar" subitem="Server-v"/>
    2101   <x:ref>Server</x:ref>         = "Server" <x:ref>BWS</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>Server-v</x:ref>
     2101  <x:ref>Server</x:ref>         = "Server" ":" <x:ref>OWS</x:ref> <x:ref>Server-v</x:ref>
    21022102  <x:ref>Server-v</x:ref>       = 1*( <x:ref>product</x:ref> / <x:ref>comment</x:ref> )
    21032103</artwork></figure>
     
    21402140</t>
    21412141<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="User-Agent"/><iref primary="true" item="Grammar" subitem="User-Agent-v"/>
    2142   <x:ref>User-Agent</x:ref>     = "User-Agent" <x:ref>BWS</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>User-Agent-v</x:ref>
     2142  <x:ref>User-Agent</x:ref>     = "User-Agent" ":" <x:ref>OWS</x:ref> <x:ref>User-Agent-v</x:ref>
    21432143  <x:ref>User-Agent-v</x:ref>   = 1*( <x:ref>product</x:ref> / <x:ref>comment</x:ref> )
    21442144</artwork></figure>
Note: See TracChangeset for help on using the changeset viewer.