github.com/lingyao2333/mo-zero@v1.4.1/rest/httpc/vars.go (about) 1 package httpc 2 3 import "errors" 4 5 const ( 6 pathKey = "path" 7 formKey = "form" 8 headerKey = "header" 9 jsonKey = "json" 10 slash = "/" 11 colon = ':' 12 ) 13 14 // ErrGetWithBody indicates that GET request with body. 15 var ErrGetWithBody = errors.New("HTTP GET should not have body")