pre-flight with OPTION header => can not connect (cors?config?)
Hello dear tigasers,
I can connect to Tigase server with all browsers except Safari.
With Fiddler, I see a pre-flight request (thrown only with Safari, other browsers just send the POST request after the CONNECT one).
Here is the request sent by Safari after the CONNECT request :
OPTIONS https://distant-tigase-server.im.com:5281/ HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2
Accept-Encoding: gzip, deflate
Do Tigase handle this kind of request?
Is it a configuration problem (maybe I forgot a header) ?
Is this problem fixed in Tigase > 5.1.0-beta8-b2937 ?
Thanks for reading my issue.
Added by # JeSuisTigase over 3 years ago
thanks for you answer.
Do you confirm it's a known problem of this tigase version ?
I'm trying to modify the headers set by Strophe to avoid the pre-flight request, but the behaviour of Tigase is a bit random on this particular configuration.