Add HTTP 501 error message
This commit is contained in:
parent
fba3a97a24
commit
6fa73071a5
1 changed files with 5 additions and 0 deletions
|
@ -141,5 +141,10 @@ var errs = map[int]*err{
|
||||||
Details: "Internal server error",
|
Details: "Internal server error",
|
||||||
Description: "There was a problem with our servers, and we have been notified.",
|
Description: "There was a problem with our servers, and we have been notified.",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
501: {
|
||||||
|
Code: 501,
|
||||||
|
Details: "Not Implemented",
|
||||||
|
Description: "The server either does not recognize the request method, or it lacks the ability to fulfill the request.",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue