(w http.ResponseWriter)
| 210 | } |
| 211 | |
| 212 | func serveTransparentGIF(w http.ResponseWriter) { |
| 213 | gifBytes, _ := base64.StdEncoding.DecodeString(TransparentGif64) |
| 214 | w.Header().Set("Content-Type", "image/gif") |
| 215 | w.WriteHeader(http.StatusOK) |
| 216 | w.Write(gifBytes) |
| 217 | } |
| 218 | |
| 219 | func handleLocalStreamFile(w http.ResponseWriter, r *http.Request, path string, no404 bool) { |
| 220 | http.NewResponseController(w).SetWriteDeadline(time.Time{}) |
no test coverage detected