MuxSlice more method muxing improvements

This commit is contained in:
Patricio Whittingslow
2026-07-29 23:58:59 -03:00
parent 2d68098537
commit be56c82b2c
8 changed files with 412 additions and 43 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ func homepage(exch *httphi.Exchange) {
n += copy(page[n:], htmlTail)
exch.StageHeader("Content-Type", "text/html")
exch.StageHeaderInt("Content-Length", int64(n), 10)
exch.StageHeaderInt("Content-Length", int64(n))
exch.WriteHeader(int(httphi.StatusOK))
exch.WriteBody(page[:n])
}