python - Writing an HTTP query with Tornado? -


Can I use the Tornado features to write HTTP client queries? Contrary to the use of the http.client module in the standard library

What will be the equivalent storm code:

  curl 'http: // localhost: 2222 / Foo? Bar = 1 '   

verbal equivalent

  python -m tornado.httpclient 'http: // localhost: 2222 / foo? Bar = 1 '  

or a coroutine

  in print (unproductive HTTP) (fetch) (' http: // localhost: 2222 / foo? Times = 1 ')).    

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -