providers/http: Add queryEscape, queryUnescape
This commit is contained in:
		
							parent
							
								
									adf77c962d
								
							
						
					
					
						commit
						88a364a155
					
				@ -21,11 +21,13 @@ func (this *Provider) Package () string {
 | 
			
		||||
// FuncMap fulfills the step.FuncProvider interface.
 | 
			
		||||
func (this *Provider) FuncMap () template.FuncMap {
 | 
			
		||||
	return template.FuncMap {
 | 
			
		||||
		"statusText": http.StatusText,
 | 
			
		||||
		"parseQuery": funcParseQuery,
 | 
			
		||||
		"parseForm":  funcParseForm,
 | 
			
		||||
		"error":      funcError,
 | 
			
		||||
		"redirect":   funcRedirect,
 | 
			
		||||
		"statusText":    http.StatusText,
 | 
			
		||||
		"parseQuery":    funcParseQuery,
 | 
			
		||||
		"parseForm":     funcParseForm,
 | 
			
		||||
		"error":         funcError,
 | 
			
		||||
		"redirect":      funcRedirect,
 | 
			
		||||
		"queryEscape":   url.QueryEscape,
 | 
			
		||||
		"queryUnescape": url.QueryUnescape,
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user