jfweemaes / ubiquity-xforms

Automatically exported from code.google.com/p/ubiquity-xforms
0 stars 0 forks source link

PUT and POST submissions fail running in Internet Explorer #521

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
>>> What steps will reproduce the problem?

1. Open a form containing a PUT or POST submission.
2. Attempt to perform the submission

>>> What is the expected output? What do you see instead?

The expected output is a completed submission. Instead, I get an error due 
to an invalid content-type. The content-type sent by IE is 

"application/xml; UTF-8, application/xml"

This happens because setHeader("content-type", <x>) is called twice during 
the creation of the submission of application/xml data: once in 
serializeSubmitDataList and later in submission.prototype.submit. Firefox 
ignores the second attempt to set the header; IE doesn't. This yields an 
invalid content-type header.

Original issue reported on code.google.com by michael.junkin@gmail.com on 3 Sep 2009 at 11:58

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi there.

Which version of IE are you using? I use POST and PUT with IE 7 and 8, without 
any 
kind of errors. Did you download all files of ubiquity 0.7 or are you using the 
web 
platform?

regards

Original comment by F.Schroe...@gmail.com on 8 Sep 2009 at 12:37