strophe/strophejs — pull request #18 by sawantuday (2013-08-09 13:42:09+00:00)
Title: Chrome cors fix

This is a chrome CORS fix,
Chrome changes the request method from POST to
OPTIONS thus not carriying the initial xml stanza.
this keeps the http request pending for random time
period before restarting it.
Setting content type of the request to text/plain avoids
this problem