Build your own ResponseWriter: safer HTTP in Go (anto.pt)
from tedu@inks.tedunangst.com to inks@inks.tedunangst.com on 09 May 19:14
https://inks.tedunangst.com/l/5230

Go’s http.ResponseWriter writes directly to the socket, which can lead to subtle bugs like forgetting to set a status code or accidentally modifying headers too late.

#go #programming #web

#go #inks #programming #web

threaded - newest