Re: Is BlobBuilder needed?

On Wednesday, October 26, 2011, Anne van Kesteren <annevk@opera.com> wrote:
> On Thu, 27 Oct 2011 08:14:39 +0900, Jonas Sicking <jonas@sicking.cc>
wrote:
>>
>> b = new Blob([foo, bar], { contentType: "text/plain" });
>>
>> isn't too bad. The other properties that I could think of that we'd
>> want to add sometime in the future would be encoding for strings,
>> including endianness for utf16 strings.
>
> Lets call it "type" if it is not actually a Content-Type header value but
a MIME type.

The prime use of this value is actually to act like a content type header
when a URL created through createObjectURL(blob) is loaded.

/ Jonas

Received on Thursday, 27 October 2011 18:13:01 UTC