W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2013

Re: WGLC issue: ambiguity in part 1 example

From: Roy T. Fielding <fielding@gbiv.com>
Date: Tue, 26 Feb 2013 15:27:22 -0800
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-Id: <467C0F51-0DB4-4257-8DAA-19B5098CF36C@gbiv.com>
To: Amos Jeffries <squid3@treenet.co.nz>
On Feb 16, 2013, at 5:27 PM, Amos Jeffries wrote:

> Part 1 section 2.1 example server response contains an entity body and a Content-Length header.
> The Content-Length header is 2 bytes larger than the visible/printable bytes in the entity and it is not made clear that there are invisible trailer bytes being included in the in the displayed entity size.
> I think at this early stage of the texts it would be best to keep things simple and only have the Content-Length equal to the visible bytes - "Hello world!" being 12 bytes long.

Note that the extra two bytes (for CR LF) is intentional and produced
automatically by the xslt example body processor.  I believe it is
useful to show the real protocol and let the reader figure out why
all the bytes aren't visible.

Received on Tuesday, 26 February 2013 23:27:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:10 UTC