Re: File API: Blob.type

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 UTC