From 26145cba79105d33a5bb6c2bc6190ef60856b082 Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Fri, 22 Nov 2019 12:13:25 +0100 Subject: [PATCH] doc: updates to route_matching section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Roberto Abdelkader Martínez Pérez --- docs/source/index.rst | 2 +- docs/source/theory/route_matching.rst | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index 21290ba..826cba1 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -20,10 +20,10 @@ theory/philosophy theory/request_life_cycle theory/resource_tree + theory/route_matching theory/routes - Indices and tables ================== diff --git a/docs/source/theory/route_matching.rst b/docs/source/theory/route_matching.rst index 31d58bd..c77d75b 100644 --- a/docs/source/theory/route_matching.rst +++ b/docs/source/theory/route_matching.rst @@ -1,12 +1,14 @@ Route Matching ============== -Route table ------------ +Kapow! maintains a route table with a list of routes as provided by the user, +and uses it to determine which handler should an incoming request be dispatched +to. - Kapow! maintains a route table as provided by the user, and uses it to determine - which handler should an incoming request be dispatched to. +.. todo:: - Each incoming request is matched against the routes in the route table in - strict order, for each route in the route table, the criteria are checked. - If the request does not match, the next route in the route list is examined. + link routes to its section + +Each incoming request is matched against the routes in the route table in +strict order, for each route in the route table, the criteria are checked. +If the request does not match, the next route in the route list is examined.