From 4f422357304ba4969c7e3212f3b559d7e53c941b Mon Sep 17 00:00:00 2001 From: Adrien PONSIN Date: Tue, 15 Apr 2025 20:45:32 +0200 Subject: [PATCH] add the HTTP response --- command/serve.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/serve.go b/command/serve.go index 379b6c7..811e7df 100644 --- a/command/serve.go +++ b/command/serve.go @@ -179,6 +179,7 @@ func (ph *ProxyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { } } } + http.Error(w, http.StatusText(http.StatusForbidden), http.StatusForbidden) return }