providers/http: Include status text in func map

This commit is contained in:
Sasha Koshka 2024-12-07 13:07:26 -05:00
parent d67738b29a
commit 5c9168c9b0

View File

@ -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,
}