BOSH too picky about content-type with requests
Date: Thu, 11 Nov 2010 04:03:52 -0800 (PST)
Hello, i was wondering if there are other people who are facing
problems with strophe on ie8 with a openfire server. My IE and firefox
clients were sending almost the same stanza to request roster
information. The firefox client got a answer from the openfire server
but IE8 didn't get one (a 404 status). I decided to look at wireshark
to see the differences. Firefox sends a Content-Type: text/plain but
IE8 didn't which caused the openfire sever to answer the request with
I've added this line of code in the Strophe library after line 2503:
After this everything worked fine.
My question is, is there a way to change this without modifying the
Closing, we can always reopen if somebody notes that they are reproducing it.
I can't reproduce this with 3.9.1 (and probably 3.8.2 works as well).
I've sent no Content-Type in the HTTP header and checked, that Openfire's HttpBindServlet indeed got no Content-Type. But nonetheless, the BOSH connection worked.
It also worked with another content-type, like "application/x-www-form-urlencoded".
So, is this still an issue?
Removing the 'fix version' for all unresolved issues that were scheduled for version 7.8.2. We're releasing this version today - the remaining issues should be rescheduled later.
fixed in 3.7.2?