W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2010

Re: [#95] Multiple Content-Lengths

From: Mark Nottingham <mnot@mnot.net>
Date: Mon, 11 Oct 2010 15:55:36 -0700
Message-Id: <694484F5-F0B5-4447-894B-284A55118391@mnot.net>
Cc: Adam Barth <w3c@adambarth.com>, "Roy T. Fielding" <fielding@gbiv.com>, HTTP Working Group <ietf-http-wg@w3.org>
To: "William Chan (陈智昌)" <willchan@chromium.org>
Any idea of how many of those were duplicates (ie not mismatching)?


On 08/10/2010, at 11:55 AM, William Chan (陈智昌) <willchan@chromium.org> wrote:

> FWIW, on Windows Chrome 7.0.536.2 (a recent dev channel release), .0009% of main frames (where an error would result in a user-visible Chrome network error page, which we don't show for subresources) have responses with multiple content-lengths.
> 
> On Tue, Sep 21, 2010 at 12:01 AM, William Chan (陈智昌) <willchan@chromium.org> wrote:
> On Mon, Sep 20, 2010 at 11:44 PM, Adam Barth <w3c@adambarth.com> wrote:
> On Mon, Sep 20, 2010 at 10:28 PM, William Chan (陈智昌)
> <willchan@chromium.org> wrote:
> > From the brief discussion amongst the Chrome network developers, we plan to
> > discard the response and display an error.
> 
> What sort of error message are you planing to display in the case that
> Mark asked about (a CSS stylesheet with multiple Content-Length
> headers)?
> 
> Adam
> 
> I missed that comment.  That's an interesting point.  Unless bug reports / user metrics indicate this merits special handling, or we have confidence this is an attack rather than a buggy server, I'd have no current plans to treat it differently from any other network error, which gets logged and results in a resource load failure for WebKit.
> 
Received on Monday, 11 October 2010 22:55:56 GMT

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