W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

Re: FormData and BlobBuilder - duplication of functionality?

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 13 Apr 2010 21:01:36 -0700
Message-ID: <i2l63df84f1004132101q71ed8e3fp75ba3e6829adfea8@mail.gmail.com>
To: Michael Nordman <michaeln@google.com>
Cc: Dmitry Titov <dimich@google.com>, Web Applications Working Group WG <public-webapps@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:07 UTC