From 5c9168c9b01758b447fe1ef351ff79a023d55d4e Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Sat, 7 Dec 2024 13:07:26 -0500 Subject: [PATCH] providers/http: Include status text in func map --- providers/http/http.go | 1 + 1 file changed, 1 insertion(+) diff --git a/providers/http/http.go b/providers/http/http.go index 06563cf..641ea05 100644 --- a/providers/http/http.go +++ b/providers/http/http.go @@ -15,6 +15,7 @@ type Provider struct { // FuncMap fulfills the step.FuncProvider interface. func (this *Provider) FuncMap () template.FuncMap { return template.FuncMap { + "statusText": http.StatusText, "parseQuery": funcParseQuery, "parseForm": funcParseForm, }