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

content type sniffing - stream length

From: Ryan King <ryan@theryanking.com>
Date: Fri, 11 Jul 2008 18:16:55 -0700
Message-Id: <B1E3B008-1605-419B-BB30-2D784B0A4450@theryanking.com>
To: public-html@w3.org
Cc: implementors@whatwg.org

"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.

-ryan
Received on Saturday, 12 July 2008 01:17:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:19 GMT