From 4b7e7aab330c5569b24ad00274bd8c568a33852c Mon Sep 17 00:00:00 2001 From: Tommy Ip Date: Sun, 19 Feb 2017 12:39:39 +0000 Subject: [PATCH] Fix typo in routing.md --- docs/sanic/routing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sanic/routing.md b/docs/sanic/routing.md index 5d0442e4..d6bedc6a 100644 --- a/docs/sanic/routing.md +++ b/docs/sanic/routing.md @@ -64,9 +64,9 @@ async def folder_handler(request, folder_id): ## HTTP request types -By default, a route defined on a URL will be avaialble for only GET requests to that URL. +By default, a route defined on a URL will be available for only GET requests to that URL. However, the `@app.route` decorator accepts an optional parameter, `methods`, -whicl allows the handler function to work with any of the HTTP methods in the list. +which allows the handler function to work with any of the HTTP methods in the list. ```python from sanic.response import text