W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: File API: Blob.type

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 6 Mar 2013 14:29:48 +0000
Message-ID: <CADnb78hjdaxyj0eDR22PqX9H2dpT7tNae4hD2_RCb7en5wDh-Q@mail.gmail.com>
To: Glenn Maynard <glenn@zewt.org>
Cc: WebApps WG <public-webapps@w3.org>, Alexey Proskuryakov <ap@webkit.org>, Arun Ranganathan <arun@mozilla.com>, Jonas Sicking <jonas@sicking.cc>
On Wed, Mar 6, 2013 at 2:21 PM, Glenn Maynard <glenn@zewt.org> wrote:
> Blob.type is a MIME type, not a Content-Type header.  It's a string of
> codepoints, not a series of bytes.  XHR is a protocol-level API, so maybe it
> makes sense there, but it doesn't make sense for Blob.

It's a Content-Type header value and should have those restrictions.
Making it a ByteString plus additional restrictions will make it do as
required.


-- 
http://annevankesteren.nl/
Received on Wednesday, 6 March 2013 14:30:19 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:57 GMT