diff options
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/uncle-ted/main.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/uncle-ted/main.go b/cmd/uncle-ted/main.go index c3865ce..1f7d0e0 100644 --- a/cmd/uncle-ted/main.go +++ b/cmd/uncle-ted/main.go @@ -3,7 +3,6 @@ package main import ( _ "embed" "flag" - "fmt" "log" "log/slog" "net/http" @@ -31,7 +30,6 @@ func defenseHandler(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "text/plain") w.Header().Set("Content-Encoding", "gzip") w.Header().Set("Transfer-Encoding", "gzip") - w.Header().Set("Content-Length", fmt.Sprint(len(kaboom))) w.WriteHeader(http.StatusOK) w.Write(kaboom) |
