Minor fix to ellipses in binary-messages

https://github.com/httpwg/http-extensions/pull/2128 makes a very small change to the indetermine-length encoding diagram to remove an ellipsis as follows:

 Indeterminate-Length Response  {
   Framing Indicator (i) = 3,
   Indeterminate-Length Informational Response (..) ...,
   Final Response Control Data (..),
   Indeterminate-Length Field Section (..),
-  Indeterminate-Length Content (..) ...,
+  Indeterminate-Length Content (..),
   Indeterminate-Length Field Section (..),
   Padding (..),
 }

The same change is made for the request.  For context, this is how content is defined:

 Indeterminate-Length Content {
   Indeterminate-Length Content Chunk (..) ...,
   Content Terminator (i) = 0,
 }

Note that the removed ellipsis would mean that the Content could be repeated or omitted entirely, which would make it impossible to find the trailers if there are any.  The ellipsis on the Indeterminate-Length Content Chunk line is the intended and correct place; that doesn't change.

This aligns the picture with the prose, so this is *technically* not a design change, but I wanted to ensure that it was raised here given the state of the draft.  The known-length encoding doesn't have this problem.

Cheers,
Martin

Received on Thursday, 26 May 2022 00:01:20 UTC