MCPcopy
hub / github.com/willnorris/imageproxy / errorBody

Method errorBody

third_party/http/server.go:50–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func (h *timeoutHandler) errorBody() string {
51 if h.body != "" {
52 return h.body
53 }
54 return "<html><head><title>Timeout</title></head><body><h1>Timeout</h1></body></html>"
55}
56
57func (h *timeoutHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
58 var t *time.Timer

Callers 1

ServeHTTPMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected