Bug 503615 - force sending of CEIP data with application/xml mimetype. r=silver@warwickcompsoc.co.uk (James Ross), a=NPOTFFB.

git-svn-id: svn://10.0.0.236/trunk@258565 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gijskruitbosch%gmail.com 2009-10-03 20:52:28 +00:00
parent f374dbca34
commit b6d06f2b64

View File

@ -338,6 +338,7 @@ function ceip_uploadlog(file)
request.onload = uploadLogDone; request.onload = uploadLogDone;
request.onerror = uploadLogError; request.onerror = uploadLogError;
request.open("POST", uploadUrl); request.open("POST", uploadUrl);
request.setRequestHeader("Content-Type", "application/xml");
request.send(data); request.send(data);
} }
catch(ex) catch(ex)