Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Jun 6, 2015
1 parent 6af55c8 commit 3cff8b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ asyncio approach:
Server
^^^^^^

In aiohttp 0.12 we've added highlevel API for web HTTP server.

This is simple usage example:

.. code-block:: python
Expand Down Expand Up @@ -127,7 +125,8 @@ This is simple usage example:
app.router.add_route('GET', '/echo', wshandler)
app.router.add_route('GET', '/{name}', handle)
srv = yield from loop.create_server(app.make_handler(), '127.0.0.1', 8080)
srv = yield from loop.create_server(app.make_handler(),
'127.0.0.1', 8080)
print("Server started at http://127.0.0.1:8080")
return srv
Expand Down

0 comments on commit 3cff8b0

Please sign in to comment.