Export to GitHub

gears - issue #994

Upload file(blob) using httpRequest PUT method not working in IE


Posted on Jan 21, 2010 by Helpful Hippo

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

Status: New

Labels:
Type-Defect Priority-Medium