Re: [XHR2] Blobs, names and FormData

On Wed, 29 Jun 2011 16:43:13 +0200, Alfonso Martínez de Lizarrondo  
<amla70@gmail.com> wrote:
> Providing an automatic filename it's better than sending an empty one,  
> but it fails to address interaction with existing systems (some might  
> refuse the upload if it doesn't look like a correct file type, at the  
> very least a
> proper extension). The usual "solution" suggested/used when people create
> samples or code using these features is to add extra headers to send the
> desired filename, but that means that the server code has to be updated  
> to handle this behavior.

What is the extension for unknown arbitrary contents? Is it .bin? We could  
also name it "blob.blob" if that improves matters. It really does not  
matter much.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Wednesday, 29 June 2011 16:12:00 UTC