Forbidden 辅助函数:403 Forbidden
(w http.ResponseWriter, message string)
| 109 | |
| 110 | // Forbidden 辅助函数:403 Forbidden |
| 111 | func Forbidden(w http.ResponseWriter, message string) { |
| 112 | Error(w, http.StatusForbidden, "forbidden", message) |
| 113 | } |
| 114 | |
| 115 | // Conflict 辅助函数:409 Conflict |
| 116 | func Conflict(w http.ResponseWriter, message string) { |