Write a form-error page's status only after it renders (closes #128) #436

Merged
clawbot merged 1 commits from issue-128-render-status into next 2026-10-02 15:34:02 +02:00
1 Commits
Author SHA1 Message Date
sneak b471323911 Write a form-error page's status only after it renders (closes #128)
check / check (push) Waiting to run
The login form and the webhook create and edit forms set their 400 or
409 with WriteHeader before calling renderTemplate, so a template
failure there answered with that status instead of 500. A variant of
renderTemplate now takes the status and writes it only once the page
has rendered into the buffer; renderTemplate sends 200 through it.

Model: opus-5-5
2026-10-02 12:09:39 +00:00