W3C home > Mailing lists > Public > public-html@w3.org > July 2008

Re: [imps] content type sniffing - stream length

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 12 Jul 2008 02:50:13 +0000 (UTC)
To: Ryan King <ryan@theryanking.com>
Cc: public-html@w3.org, implementors@whatwg.org
Message-ID: <Pine.LNX.4.62.0807120250070.28237@hixie.dreamhostps.com>

On Fri, 11 Jul 2008, Ryan King wrote:
>
> "2.7.4 Content-Type sniffing: unknown type" says:
> 
>   2. If pattern length is smaller than stream length then skip this row.
> 
> ..which doesn't seem to make sense, since the streams will likely be 512 
> bytes long, and the patterns are a handful of bytes each. I suspect that 
> the intent was the opposite:
> 
>   2. If stream length is smaller than pattern length then skip this row.

Fixed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 12 July 2008 02:50:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:56 UTC