- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Fri, 31 Jan 2014 03:44:58 +0100
- To: "Roy T. Fielding" <fielding@gbiv.com>
- Cc: HTTP Working Group <ietf-http-wg@w3.org>, Richard Barnes <rlb@ipv.sx>
* Roy T. Fielding wrote:
>and in the pseudo-code of 4.1.3 (Decoding Chunked):
>
>OLD:
> read header-field
> while (header-field not empty) {
> append header-field to existing header fields
> read header-field
> }
>
>NEW:
> read trailer field
> while (trailer field is not empty) {
> if trailer field is allowed to be sent in a trailer,
> append trailer field to existing header fields
> read trailer-field
> }
I think the combination of comma and indentation is difficult to under-
stand. It would be better to be more explicit,
read trailer field
while (trailer field is not empty) {
if (trailer field is allowed to be sent in a trailer) {
append trailer field to existing header fields
}
read trailer-field
}
for instance.
--
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Received on Friday, 31 January 2014 02:45:23 UTC