Remove unnecessary from README

This commit is contained in:
Andrew Rabert 2017-07-13 10:12:05 -04:00
parent 01d04c5a6c
commit f714e6125e

View file

@ -48,11 +48,10 @@ This examples demonstrates the most basic usage of ``sprockets.mixins.http``
if not response.ok:
self.set_status(response.code)
self.write(response.body)
self.finish()
if __name__ == "__main__":
app = web.Application([web.url(r'/', RequestHandler)])
app = web.Application([(r'/', RequestHandler)])
app.listen(8000)
ioloop.IOLoop.current().start()
@ -76,11 +75,10 @@ As with Tornado, to use the curl client which has numerous benefits:
if not response.ok:
self.set_status(response.code)
self.write(response.body)
self.finish()
if __name__ == "__main__":
app = web.Application([web.url(r'/', RequestHandler)])
app = web.Application([(r'/', RequestHandler)])
app.listen(8000)
ioloop.IOLoop.current().start()