Switch to use Too Many Requests response code

Name the 429 status code
This commit is contained in:
Satnam Singh
2015-01-23 17:17:11 -08:00
parent b3fffe0efb
commit 3a9e6d8f29
4 changed files with 14 additions and 9 deletions

View File

@@ -50,10 +50,6 @@ type defaultAPIServer struct {
group *APIGroupVersion
}
const (
StatusUnprocessableEntity = 422
)
// Handle returns a Handler function that exposes the provided storage interfaces
// as RESTful resources at prefix, serialized by codec, and also includes the support
// http resources.