This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tornado import ioloop , gen | |
from tornado.httpclient import AsyncHTTPClient, HTTPRequest | |
from tornado.web import asynchronous, RequestHandler, Application | |
from tornado.testing import AsyncHTTPTestCase | |
import sys | |
from tornado.ioloop import IOLoop | |
class MainHandler(RequestHandler): | |
url = u'http://www.google.com' | |
@asynchronous | |
@gen.engine |
NewerOlder