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++ - 'std::string' has no member named 'get' list[i]=user.get; -

sonata admin - how to add ManyToOne property field in configureListfield in sonataAdmin -

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