From 416a44488b192857429906e6d26f5d01636e8f7c Mon Sep 17 00:00:00 2001 From: Jacob Gillespie Date: Wed, 2 Mar 2022 12:32:39 +0000 Subject: [PATCH] Fix README typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 364fcce..6529db8 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Constructs a `RouteHandler` that matches a given method (`GET`, `POST`, etc) and - `text(req, options)` - read the request body as a string - `json(req, options)` - read the request body as parsed JSON -## Request helpers +### Request helpers - `getHeader(req, header)` - returns the requested header if it was provided - `fromRequest(fn)` - wraps a function in the form `(req: ServerRequest, ...rest) => any` to return an equivalent function that caches its results for the provided request