package org.argeo.util.http;
/**
- * Standard HTTP response status codes.
+ * Standard HTTP response status codes (including WebDav ones).
*
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
*/
public enum HttpResponseStatus {
// Successful responses (200–299)
OK(200), //
+ NO_CONTENT(204), //
MULTI_STATUS(207), // WebDav
// Client error responses (400–499)
UNAUTHORIZED(401), //
FORBIDDEN(403), //
NOT_FOUND(404), //
+ // Server error responses (500-599)
+ INTERNAL_SERVER_ERROR(500), //
+ NOT_IMPLEMENTED(501), //
;
private final int code;