Re: FormData and BlobBuilder - duplication of functionality?

On Tue, Apr 13, 2010 at 7:35 PM, Michael Nordman <michaeln@google.com> wrote:
> Good question. Let me ask you one. What value should you use for the
> content-type header? That value needs to contain the boundary string. You
> need to know that to xhr.send the data in a way that looks like a form
> submission. Just sending the blob will be "off by one" and the server side
> won't understand it.

There seems to be general agreement (based on various discussions here
and on whatwg) that the .type property should be moved to the Blob
interface. So Blobs will have a content-type. So this problem should
be taken care of.

/ Jonas

Received on Wednesday, 14 April 2010 04:02:30 UTC