From 303adcd02a73759de4535025ad4948efaf326230 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Sat, 14 Dec 2024 16:29:44 -0500 Subject: [PATCH] http: Actually write the status on error pages LOL --- http/handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/http/handler.go b/http/handler.go index ae02a44..ce8e38d 100644 --- a/http/handler.go +++ b/http/handler.go @@ -288,6 +288,7 @@ func (this *Handler) serveError ( this.serveError(res, req, http.StatusInternalServerError, err, true) return } + res.WriteHeader(status) err = document.Execute(res, step.ExecutionData { Data: Error { Status: status,