Skip to content

Commit

Permalink
s/header-field/header-line/ in ABNF (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
reschke committed Feb 3, 2020
1 parent f08087d commit 09b4049
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions draft-ietf-httpbis-messaging-latest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@
<x:anchor-alias value="start-line"/>
<iref item="header section"/>
<iref item="headers"/>
<iref item="header field"/>
<iref item="header line"/>
<t>
An HTTP/1.1 message consists of a start-line followed by a CRLF and a
sequence of
Expand All @@ -258,7 +258,7 @@
</t>
<sourcecode type="abnf7230"><iref primary="true" item="Grammar" subitem="HTTP-message"><!--terminal production--></iref>
<x:ref>HTTP-message</x:ref> = <x:ref>start-line</x:ref> <x:ref>CRLF</x:ref>
*( <x:ref>header-field</x:ref> <x:ref>CRLF</x:ref> )
*( <x:ref>header-line</x:ref> <x:ref>CRLF</x:ref> )
<x:ref>CRLF</x:ref>
[ <x:ref>message-body</x:ref> ]
</sourcecode>
Expand Down Expand Up @@ -769,13 +769,13 @@ https://www.example.org
</section>

<section title="Field Syntax" anchor="header.field.syntax">
<x:anchor-alias value="header-field"/>
<x:anchor-alias value="header-line"/>
<t>
Each field line consists of a case-insensitive field name
followed by a colon (":"), optional leading whitespace, the field line value,
and optional trailing whitespace.
</t>
<sourcecode type="abnf7230"><iref primary="true" item="Grammar" subitem="header-field"/><iref primary="false" item="Grammar" subitem="field-name"/><iref primary="false" item="Grammar" subitem="field-value"/>
<sourcecode type="abnf7230"><iref primary="true" item="Grammar" subitem="header-line"/><iref primary="false" item="Grammar" subitem="field-name"/><iref primary="false" item="Grammar" subitem="field-value"/>
<x:ref>header-line</x:ref> = <x:ref>field-name</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>field-value</x:ref> <x:ref>OWS</x:ref>
</sourcecode>
<t>
Expand Down Expand Up @@ -1371,8 +1371,8 @@ https://www.example.org
check, digital signature, or post-processing status. The proper use and
limitations of trailer fields are defined in <xref target="trailer.fields"/>.
</t>
<sourcecode type="abnf7230"><iref primary="true" item="Grammar" subitem="trailer-section"/><iref primary="false" item="Grammar" subitem="header-field"/>
<x:ref>trailer-section</x:ref> = *( <x:ref>header-field</x:ref> <x:ref>CRLF</x:ref> )
<sourcecode type="abnf7230"><iref primary="true" item="Grammar" subitem="trailer-section"/><iref primary="false" item="Grammar" subitem="header-line"/>
<x:ref>trailer-section</x:ref> = *( <x:ref>header-line</x:ref> <x:ref>CRLF</x:ref> )
</sourcecode>
<t>
A recipient that decodes and removes the chunked encoding from a message
Expand Down Expand Up @@ -3047,7 +3047,7 @@ Upgrade: websocket
<x:ref>Connection</x:ref> = [ connection-option ] *( OWS "," OWS [ connection-option
] )

<x:ref>HTTP-message</x:ref> = start-line CRLF *( header-field CRLF ) CRLF [
<x:ref>HTTP-message</x:ref> = start-line CRLF *( header-line CRLF ) CRLF [
message-body ]
<x:ref>HTTP-name</x:ref> = %x48.54.54.50 ; HTTP
<x:ref>HTTP-version</x:ref> = HTTP-name "/" DIGIT "." DIGIT
Expand Down Expand Up @@ -3083,7 +3083,7 @@ Upgrade: websocket
<x:ref>field-name</x:ref> = &lt;field-name, see <xref target="Semantics" x:fmt="," x:sec="4.2"/>&gt;
<x:ref>field-value</x:ref> = &lt;field-value, see <xref target="Semantics" x:fmt="," x:sec="4.2"/>&gt;

<x:ref>header-field</x:ref> = field-name ":" OWS field-value OWS
<x:ref>header-line</x:ref> = field-name ":" OWS field-value OWS

<x:ref>last-chunk</x:ref> = 1*"0" [ chunk-ext ] CRLF

Expand Down Expand Up @@ -3115,7 +3115,7 @@ Upgrade: websocket
<x:ref>t-codings</x:ref> = "trailers" / ( transfer-coding [ t-ranking ] )
<x:ref>t-ranking</x:ref> = OWS ";" OWS "q=" rank
<x:ref>token</x:ref> = &lt;token, see <xref target="Semantics" x:fmt="," x:sec="4.2.3"/>&gt;
<x:ref>trailer-section</x:ref> = *( header-field CRLF )
<x:ref>trailer-section</x:ref> = *( header-line CRLF )
<x:ref>transfer-coding</x:ref> = token *( OWS ";" OWS transfer-parameter )
<x:ref>transfer-parameter</x:ref> = token BWS "=" BWS ( token / quoted-string )

Expand Down

0 comments on commit 09b4049

Please sign in to comment.