Fix superflous header issue

This commit is contained in:
Mukhtar Akere
2025-08-05 04:01:41 +01:00
parent 139249a1f3
commit ce972779c3
2 changed files with 5 additions and 3 deletions

View File

@@ -484,7 +484,7 @@ func (h *Handler) handleGet(w http.ResponseWriter, r *http.Request) {
} else {
// Generic error
if !hasHeadersWritten(w) {
http.Error(w, "Stream error", http.StatusInternalServerError)
http.Error(w, "Internal Server Error", http.StatusInternalServerError)
return
} else {
h.logger.Error().