How do I set the HTTP status code on an http.ResponseWriter (e.g. to 500 or 403)?
http.ResponseWriter
I can see that requests normally have a status code of 200 attached to the
w.WriteHeader(http.StatusInternalServerError) w.WriteHeader(http.StatusForbidden)
full list here