MCPcopy Create free account
hub / github.com/willnorris/imageproxy / ServeHTTP

Method ServeHTTP

caddy/module.go:77–80  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request, _ caddyhttp.Handler)

Source from the content-addressed store, hash-verified

75}
76
77func (p *ImageProxy) ServeHTTP(w http.ResponseWriter, r *http.Request, _ caddyhttp.Handler) error {
78 p.proxy.ServeHTTP(w, r)
79 return nil
80}
81
82func parseCaddyfile(h httpcaddyfile.Helper) (caddyhttp.MiddlewareHandler, error) {
83 p := new(ImageProxy)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected