XMLHttpRequest Level 2 - responseBody

Forums » Opera for Windows/Mac/Linux » Desktop wish-list

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

6. April 2010, 20:00:33

Dodwin

Posts: 36

XMLHttpRequest Level 2 - responseBody

Hi everybody!

Widgets and Unite applications would have even more potential if they could download binary data.
At the moment widgets (and Unite applications) can only download text files because Opera delivers the data regarding the file encoding.

It's a pity, because there is a File IO API which allows to write binary data.
But where to get a ByteArray? From an exising file doesn't make sense... I don't see any usage for this method at the moment. Anyone does?

Please start to implement XMLHttpRequest Level 2 by adding responseBody.
If it would be possible to pass the ByteArray from the responseBody to the writeBytes function widgets could download images, music, videos and every binary data out in the web. That would allow a bunch of new widgets!

For example my YouTube Player widget could directly download videos and save them on the disk.
(the download itself already "works" however the data isn't the real binary data, what ends up in saving a broken video file on the disk).

Please add the responseBody to the XMLHttpRequest object.

Forums » Opera for Windows/Mac/Linux » Desktop wish-list