We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6746a5 commit 868a6d8Copy full SHA for 868a6d8
main.py
@@ -13,7 +13,7 @@ def get(self):
13
http_client = AsyncHTTPClient()
14
response = yield http_client.fetch("http://www.sinacloud.com")
15
self.set_header('content-type', 'text/plain')
16
- self.write('Hello, World! ' + response.body[:100])
+ self.write('Hello, World! ' + str(response.body[:100]))
17
18
application = tornado.web.Application([
19
(r"/", MainHandler),
0 commit comments