code: func (r *responseWriterWithStatus) Write(body []byte) (int, error) {
  	if r.code == 0 {
  		r.code = http.StatusOK
  	}
  	return r.ResponseWriter.Write(body)
  }
docs: // Write writes the body and sets the status code to 200 if a status code
  // has not already been set.