mirror of
https://github.com/sprockets/sprockets.mixins.http.git
synced 2024-11-14 19:29:31 +00:00
Remove unnecessary from README
This commit is contained in:
parent
01d04c5a6c
commit
f714e6125e
1 changed files with 2 additions and 4 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue