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

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:

   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?


Received on Monday, 22 March 2010 14:50:53 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:23 UTC