(h httpcaddyfile.Helper)
| 1370 | } |
| 1371 | |
| 1372 | func parseCopyResponseCaddyfile(h httpcaddyfile.Helper) (caddyhttp.MiddlewareHandler, error) { |
| 1373 | crh := new(CopyResponseHandler) |
| 1374 | err := crh.UnmarshalCaddyfile(h.Dispenser) |
| 1375 | if err != nil { |
| 1376 | return nil, err |
| 1377 | } |
| 1378 | return crh, nil |
| 1379 | } |
| 1380 | |
| 1381 | // UnmarshalCaddyfile sets up the handler from Caddyfile tokens. Syntax: |
| 1382 | // |
nothing calls this directly
no test coverage detected