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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -