RespondForbidden responds with forbidden
(w http.ResponseWriter)
| 34 | |
| 35 | // RespondForbidden responds with forbidden |
| 36 | func RespondForbidden(w http.ResponseWriter) { |
| 37 | http.Error(w, "forbidden", http.StatusForbidden) |
| 38 | } |
| 39 | |
| 40 | // RespondUnauthorized responds with unauthorized |
| 41 | func RespondUnauthorized(w http.ResponseWriter) { |