gogole-http-client: add STATUS_CODE_ACCEPTED to the list of status codes
Added constant for STATUS_CODE_ACCEPTED in the HttpStatusCodes
interface.
@@ -26,9 +26,18 @@ public class HttpStatusCodes {
/** Status code for a successful request. */
public static final int STATUS_CODE_OK = 200;
- /** Status code for a successful request that has been fulfilled to create a new resource. */
+ /**
+ * Status code for a successful request that has been fulfilled
+ * to create a new resource.
+ */
public static final int STATUS_CODE_CREATED = 201;
+ /**
+ * Status code for a successful request that has been received
+ * but not yet acted upon.
+ */
+ public static final int STATUS_CODE_ACCEPTED = 202;
+
/**
* Status code for a successful request with no content information.
*
