We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ee2bf4 commit 97585a8Copy full SHA for 97585a8
docs/web.rst
@@ -104,7 +104,7 @@ so application developer can use classes if he wants::
104
105
@asyncio.coroutine
106
def handle_greeting(self, request):
107
- name = request.match_info.get('name')
+ name = request.match_info.get('name', "Anonymous")
108
txt = "Hello, {}".format(name)
109
return web.Response(text=txt)
110
0 commit comments