providers/http: Include status text in func map
This commit is contained in:
parent
d67738b29a
commit
5c9168c9b0
@ -15,6 +15,7 @@ type Provider struct {
|
|||||||
// FuncMap fulfills the step.FuncProvider interface.
|
// FuncMap fulfills the step.FuncProvider interface.
|
||||||
func (this *Provider) FuncMap () template.FuncMap {
|
func (this *Provider) FuncMap () template.FuncMap {
|
||||||
return template.FuncMap {
|
return template.FuncMap {
|
||||||
|
"statusText": http.StatusText,
|
||||||
"parseQuery": funcParseQuery,
|
"parseQuery": funcParseQuery,
|
||||||
"parseForm": funcParseForm,
|
"parseForm": funcParseForm,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user