I am stucked with Firefox. I could not make Websocket work on it. I use Tornado Websocket and I initialized it by code below:  app = Application([(r'/mypath/ws', WSHandler)]) http_server = HTTPServer(app, ssl_options={                 "ce...
How do i upload a picture that i took from a webcam, i've found a code that worked (only on Chrome)  i've used the code, and when clic on Take picture, i got the  picture but i dont see it on the source?  <video autoplay id="vid" s...
I heard some facts about ZeroMQ, and I think it's very powerful thing. But now I try to imagine how it can be applied in web application.  Could you make an example of using ZeroMQ in web applications?  So, the first that strikes me - simple chat...
Upon form submit the Tornado server does some checks and sends a response back to the client, which should appear in that current page as an alert.  Instead a blank html page is rendered with the Json response, but not as an alert on the current page...
I am using the authentication system provided as an example in the tornado documentation. When I want to combine it with AngularJS - AngularJS complains about a Cross-Origin Request.  How can I combine Tornado's authentication system and AngularJ...
I'd like to build a Tornado UIModule which would allow me to include a Javascript file but minify it before rendering.  E.g.     {% module include_jsmin("file.js") %}   My only problem is that I don't seem to find an elegant way to gr...
I'm using mongo, tornado, and react.  from the tornado server I got my data, I sent it to the html template and then parsed it to JSON, now I want to use this variable "obj" and pass it down to my jsx file, how can I do it?  this is my js...
I have an app working from localhost:8888 using tornado, and this is the headers i'v set:   def set_default_headers(self):     self.add_header("Access-Control-Allow-Origin", "*")     self.add_header("Access-Control-Expose-Head...
folks!  I have the following scenario:   I'm running a Tornado server with a WebSocketHandler that handles open, on_message and on_close events on a websocket:   class WebSocketHandler(tornado.websocket.WebSocketHandler):      def open(self):...
I am developing a math learning tool at provemath.org.  If you login and click on a vertex and click the light bulb to "learn" it, then go back to the main graph, you will see that the vertex is now darker in color (it is now stored in user.l...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.