Tornado – Blocking & Non-Blocking HTTP Client

Tornado provides tornado.httpclient that works as httpclient and can send blocking and non-blocking (async) http requests. tornado.httpclient.HTTPClient 1. HTTPClient: This tornado client is typically used for testing web servers or simply making a HTTP request and receiving the response. An example implementation below https://gist.github.com/3394444 tornado.httpclient.AsyncHTTPClient 2. AsyncHTTPClient: httpclient.AsyncHTTPClient()  creates an instance of the class and … Continue reading Tornado – Blocking & Non-Blocking HTTP Client