Re: [Development] XMLHttpRequest.send() with arbitrary data

2017-06-23 Thread Alberto Mardegan
On 06/23/2017 10:08 AM, Simon Hausmann wrote: I think send() should be fixed to support more than just strings as parameters. For example in browsers you can use send() with array buffers and blob objects. We don't support the latter, but the former we do and they are also our mapping for QB

Re: [Development] XMLHttpRequest.send() with arbitrary data

2017-06-23 Thread Simon Hausmann
nt@qt-project.org Subject: [Development] XMLHttpRequest.send() with arbitrary data Hi all, my understanding looking at the implementation of the XMLHttpRequest.send() method in QtDeclarative [1] is that the said method only accepts UTF-8 data as parameter. Now, I would like to be able to send arbitrary

[Development] XMLHttpRequest.send() with arbitrary data

2017-06-22 Thread Alberto Mardegan
Hi all, my understanding looking at the implementation of the XMLHttpRequest.send() method in QtDeclarative [1] is that the said method only accepts UTF-8 data as parameter. Now, I would like to be able to send arbitrary data (in order to, for example, upload a JPEG image to flickr) and I be