1
0
Fork 0

fixed incorrect error message for HTTP 405

This commit is contained in:
Jan Steemann 2012-09-10 22:02:37 +02:00
parent 559b0f9767
commit 4211c4756f
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ string HttpResponse::responseString (HttpResponseCode code) {
case PAYMENT: return "402 Payment Required";
case FORBIDDEN: return "403 Forbidden";
case NOT_FOUND: return "404 Not Found";
case METHOD_NOT_ALLOWED: return "405 Method";
case METHOD_NOT_ALLOWED: return "405 Method Not Supported";
case CONFLICT: return "409 Conflict";
case PRECONDITION_FAILED: return "412 Precondition Failed";
case UNPROCESSABLE_ENTITY: return "422 Unprocessable Entity";