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

FormData with sliced Blob

From: Jian Li <jianli@google.com>
Date: Fri, 19 Mar 2010 18:25:28 -0700
Message-ID: <a95818c31003191825s6cc2bcd3gc520df32acd7d2fd@mail.gmail.com>
To: public-webapps@w3.org
Hi,

I have questions regarding sending FormData with sliced files. When we send
a FormData with a regular file, we send out the multipart data for this
file, like the following:

   ------SomeBoundary...
   Content-Disposition: form-data; name="file"; filename="test.js"
   Content-Type: application/x-javascript
   ...

However, when it is sliced into a blob, it does not have the file name and
type information any more. I am wondering what we should send.  Should we
just not provide the filename and Content-Type information?

Thanks,

Jian
Received on Monday, 22 March 2010 14:50:53 GMT

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