code: func (h *HTTPBin) ImageAccept(w http.ResponseWriter, r *http.Request) {
  	accept := r.Header.Get("Accept")
  	if accept == "" || strings.Contains(accept, "image/png") || strings.Contains(accept, "image/*") {
  		doImage(w, "png")
  	} else if strings.Contains(accept, "image/webp") {
  		doImage(w, "webp")
  	} else if strings.Contains(accept, "image/svg+xml") {
  		doImage(w, "svg")
  	} else if strings.Contains(accept, "image/jpeg") {
  		doImage(w, "jpeg")
  	} else {
  		http.Error(w, "Unsupported media type", http.StatusUnsupportedMediaType)
  	}
  }
docs: // ImageAccept responds with an appropriate image based on the Accept header