code: func replyError(c context.Context, rw http.ResponseWriter, code int, msg string, args ...interface{}) {
  	text := fmt.Sprintf(msg, args...)
  	logging.Errorf(c, "xsrf: %s", text)
  	http.Error(rw, text, code)
  }
docs: // replyError sends error response and logs it.