Oliver Morsch Posted June 14, 2013 Posted June 14, 2013 Hi! Is it possibble to add something to the http header (response)? I have an own standalone "message server" on another port and use XMLHttpRequest (in clientside javascript) to get/post messages. In IE10 it works properly. But in Chrome it returns with status 0 and I think this is because XSS security. So I want to try the "Content-Security-Policy" header. Regards Oliver Quote
Oliver Morsch Posted June 14, 2013 Author Posted June 14, 2013 Solved! I had not to change the UniGui response header. I had to change the XMLHttpRequest header (no custom headers) and the message server response header (add " Access-Control-Allow-Origin: * " there). Now I have "long polling" and so I can send "push messages" from UniGui server to all UniGui clients (browsers) and more. Quote
Semper Posted June 15, 2013 Posted June 15, 2013 Hi, This is very interesting. Please describe in detail or to share an example. Regards Quote
Oliver Morsch Posted June 15, 2013 Author Posted June 15, 2013 This is very interesting. Please describe in detail or to share an example. I have to do and test a view things. After that I will share it. 2 Quote
Oliver Morsch Posted June 16, 2013 Author Posted June 16, 2013 I have to do and test a view things. After that I will share it. here... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.