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

Re: File API: Blob.type

From: Darin Fisher <darin@chromium.org>
Date: Wed, 6 Mar 2013 09:47:42 -0800
Message-ID: <CAP0-QpsoddRRK4Cfewd1YQC6f_XcM=hXdSFcCtgra32gMLfGBg@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: Glenn Maynard <glenn@zewt.org>, 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 6:29 AM, Anne van Kesteren <annevk@annevk.nl> wrote:

> 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.
>
>
So the intent is to allow specifying attributes like "charset"?  That
sounds useful.

-Darin



>
> --
> http://annevankesteren.nl/
>
>
Received on Wednesday, 6 March 2013 17:48:13 GMT

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