()
| 56 | } |
| 57 | |
| 58 | func (h *timeoutHandler) errorBody() string { |
| 59 | if h.body != "" { |
| 60 | return h.body |
| 61 | } |
| 62 | return "<html><head><title>Timeout</title></head><body><h1>Timeout</h1></body></html>" |
| 63 | } |
| 64 | |
| 65 | func (h *timeoutHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { |
| 66 | ctx := h.testContext |