Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 994 by dingguokai: Upload file(blob) using httpRequest PUT method not working in IE
http://code.google.com/p/gears/issues/detail?id=994

HELP!

var desktop=google.gears.factory.create('beta.desktop');
    desktop.openFiles(function(files){
        var http = google.gears.factory.create('beta.httprequest');
        http.open('PUT', 'http://server/'+files[0].name);
        http.onreadystatechange = function() {
            if (http.readyState == 4) {
                alert(http.responseText);
            }
        };
    http.send(files[0].blob);

This works in FF and Chrome, but not working in IE.
----- http.send(files[0].blob);------
This line IE says "internal error"


Gears 0.5.33.0
Firefox 3.5
IE8/7/6
Windows XP


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to