UrlHasPrefix returns a ReqCondition checking wether the destination URL the proxy client has requested has the given prefix, with or without the host. For example UrlHasPrefix("host/x") will match requests of the form 'GET host/x', and will match requests to url 'http://host/x'
"io/ioutil" "net/http" . "github.com/elazarl/goproxy" "github.com/elazarl/goproxy/regretable" )
UrlHasPrefix is referenced in 1 repositorygithub.com/elazarl/goproxy
- 1 reference in ext/image/image.go