Closed baascommandeur closed 11 years ago
I managed to solve this issue by adding the following line to the transports/cors.js
file:
xhr.setRequestHeader( "Content-type","application/text" );
Right before the xhr.send()
line..
Can you try disabling Rails' XML parameter parsing?
Stick this in an initializer:
ActionDispatch::ParamsParser::DEFAULT_PARSERS.delete(Mime::XML)
That also solves the problem..!
When I try to connect with an Android browser, the following error appears:
When using just Faye the phone can just connect.. Disabling callback-longpolling makes all connection types unusable, so it has to be callback-longpolling creating the error here..
Using Ruby 1.9.3 & Rails 3.2.11