Skip to content

Commit

Permalink
Get rid of horizontal scroll in web.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Jan 4, 2015
1 parent f2fb435 commit 7c65642
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/web.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ use those to read a file's name and a content:
content = input_file.read()
return Response(body=content,
headers=MultiDict({'CONTENT-DISPOSITION': input_file})
headers=MultiDict(
{'CONTENT-DISPOSITION': input_file})
.. _aiohttp-web-request:
Expand Down Expand Up @@ -789,7 +790,8 @@ arbitrary properties for later access from
# setup route table
# app.router.add_route(...)
yield from loop.create_server(app.make_handler(), '0.0.0.0', 8080)
yield from loop.create_server(app.make_handler(),
'0.0.0.0', 8080)
.. method:: finish()
Expand Down Expand Up @@ -1014,7 +1016,8 @@ urls with :ref:`variable pathes<aiohttp-web-variable-handler>` spec.
Construct url with given *dynamic parts*::
>>> route.url(parts={'name1': 'b', 'name2': 'c'}, query={'d': 1, 'e': 2})
>>> route.url(parts={'name1': 'b', 'name2': 'c'},
query={'d': 1, 'e': 2})
'/a/b/c/?d=1&e=2'
Expand Down

0 comments on commit 7c65642

Please sign in to comment.