W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2011

Re: Whitespace before responses

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 03 Jul 2011 22:56:59 +0200
To: Mark Nottingham <mnot@mnot.net>
Cc: httpbis Group <ietf-http-wg@w3.org>
Message-ID: <tkl117hvqbrjevclnv2mjf0nu4o3aqdfkb@hive.bjoern.hoehrmann.de>
* Mark Nottingham wrote:
><http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-14#section-3.1> says:
>
>   In the interest of robustness, servers SHOULD ignore at least one
>   empty line received where a Request-Line is expected.  In other
>   words, if the server is reading the protocol stream at the beginning
>   of a message and receives a CRLF first, it SHOULD ignore the CRLF.
>
>Should a similar approach be taken when clients parse responses?
>
>See also:
>  https://bugzilla.mozilla.org/show_bug.cgi?id=668168

Well, we absolutely need to come to an agreement where messages start
and where they end. I would rather ask which behavior we are more like-
ly to agree on. Apart from that it's obviously best if nothing has to
be skipped, as skipping requires more work than not skipping.
-- 
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 Sunday, 3 July 2011 20:57:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:43 GMT