tronghuyict56 / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

Long-Polling returns wrong MIME type #424

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Poll item state from REST interface with X-Atmosphere-Transport: 
long-polling. Accept header can be set to application/xml or not set at all.

What is the expected output? What do you see instead?
The XML response should be typed application/xml, same as without long-polling. 
Instead, the response has the MIME type text/html. This confuses some XML 
parsers like the XHr implementation in Firefox

What version of the product are you using? On what operating system?
1.3.0-SNAPSHOT, revision d9c038e125e5 (August 5, 2013) running on Windows 7.

Please provide any additional information below.

Original issue reported on code.google.com by pgsh.tudo on 26 Aug 2013 at 7:26

GoogleCodeExporter commented 8 years ago
Migrated to https://bugs.eclipse.org/bugs/show_bug.cgi?id=423519

Original comment by kai.openhab on 7 Dec 2013 at 10:36