Skip to content

Commit

Permalink
Restore list-based ABNF for Expect (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
reschke committed Jul 13, 2020
1 parent 73d235e commit 4c4efbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions draft-ietf-httpbis-semantics-latest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5579,7 +5579,8 @@ Proxy-Authorization: basic aGVsbG86d29ybGQ=
by this specification is <x:ref>100-continue</x:ref>.
</t>
<sourcecode type="abnf7230"><iref primary="true" item="Grammar" subitem="Expect"/>
<x:ref>Expect</x:ref> = "100-continue"
<x:ref>Expect</x:ref> = 1#<x:ref>expectation</x:ref>
<x:ref>expectation</x:ref> = <x:ref>token</x:ref> [ "=" ( <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> ) *<x:ref>parameter</x:ref> ]
</sourcecode>
<t>
The Expect field value is case-insensitive.
Expand Down Expand Up @@ -12218,7 +12219,7 @@ Content-Encoding: gzip
<x:ref>Date</x:ref> = HTTP-date

<x:ref>ETag</x:ref> = entity-tag
<x:ref>Expect</x:ref> = "100-continue"
<x:ref>Expect</x:ref> = expectation *( OWS "," OWS expectation )

<x:ref>From</x:ref> = mailbox

Expand Down Expand Up @@ -12312,6 +12313,7 @@ Content-Encoding: gzip
<x:ref>entity-tag</x:ref> = [ weak ] opaque-tag
<x:ref>etagc</x:ref> = "!" / %x23-7E ; '#'-'~'
/ obs-text
<x:ref>expectation</x:ref> = token [ "=" ( token / quoted-string ) *parameter ]

<x:ref>field-content</x:ref> = field-vchar [ 1*( SP / HTAB / field-vchar )
field-vchar ]
Expand Down
3 changes: 2 additions & 1 deletion httpbis.abnf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Content-Range = range-unit SP ( range-resp / unsatisfied-range )
Content-Type = media-type
Date = HTTP-date
ETag = entity-tag
Expect = "100-continue"
Expect = expectation *( OWS "," OWS expectation )
Expires = HTTP-date
From = mailbox
GMT = %x47.4D.54 ; GMT
Expand Down Expand Up @@ -117,6 +117,7 @@ delta-seconds = 1*DIGIT
entity-tag = [ weak ] opaque-tag
etagc = "!" / %x23-7E ; '#'-'~'
/ obs-text
expectation = token [ "=" ( token / quoted-string ) *parameter ]
field-content = field-vchar [ 1*( SP / HTAB / field-vchar ) field-vchar ]
field-line = field-name ":" OWS field-value OWS
field-name = token
Expand Down

0 comments on commit 4c4efbc

Please # to comment.