Oliver Morsch Posted June 14, 2013 Share 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 Link to comment Share on other sites More sharing options...
Oliver Morsch Posted June 14, 2013 Author Share 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. Link to comment Share on other sites More sharing options...
Semper Posted June 15, 2013 Share Posted June 15, 2013 Hi, This is very interesting. Please describe in detail or to share an example. Regards Link to comment Share on other sites More sharing options...
Oliver Morsch Posted June 15, 2013 Author Share 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 Link to comment Share on other sites More sharing options...
Oliver Morsch Posted June 16, 2013 Author Share Posted June 16, 2013 I have to do and test a view things. After that I will share it. here... Link to comment Share on other sites More sharing options...
Semper Posted June 16, 2013 Share Posted June 16, 2013 here... Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now