Add Method Not Allowed (405)
@@ -60,6 +60,12 @@ public class HttpStatusCodes {
/** Status code for a server that has not found anything matching the Request-URI. */
public static final int STATUS_CODE_NOT_FOUND = 404;
+ /**
+ * Status code for a method specified in the Request-Line is not allowed for the resource
+ * identified by the Request-URI.
+ * */
+ public static final int STATUS_CODE_METHOD_NOT_ALLOWED = 405;
+
/** Status code for a request that could not be completed due to a resource conflict. */
public static final int STATUS_CODE_CONFLICT = 409;
