W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2018

Re: I-D Action: draft-ietf-httpbis-header-structure-06.txt

From: Ilari Liusvaara <ilariliusvaara@welho.com>
Date: Tue, 5 Jun 2018 15:02:56 +0300
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20180605120256.GA13541@LK-Perkele-VII>
On Tue, Jun 05, 2018 at 12:22:25PM +0200, Mark Nottingham wrote:
> FYI - this revision adds serialisation algorithms for the structures,
> and rearranges things to more clearly separate the abstract data model,
> parsing and serialisation.

> > 	Filename        : draft-ietf-httpbis-header-structure-06.txt

Spotted in quick readthrough of the diff:


4.1.7.  Serialising a String	
   Given a string as input:	
   1.  If input is not a sequence of characters, or contains characters	
       outside the range allowed by the ABNF defined in Section 3.7,	
       fail serialisation.	
   2.  Let output be an empty string.	
   3.  Append DQUOTE to output.	
   4.  For each character char in input:	
       1.  If char is "" or DQUOTE:	
           1.  Append "" to output.	
       2.  Append char to output, using ASCII encoding [RFC0020].	
   5.  Append DQUOTE to output.	
   6.  Return output.	

		 
The steps 4.1 and 4.1.1 look off... I am guessing those should have "\"
instead of "".


-Ilari
Received on Tuesday, 5 June 2018 12:03:59 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:43:59 UTC