8000 Add HTTP status code CREATED (201). · chao10/google-http-java-client@2e2e395 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2e2e395

Browse files
lyang1810garrettjonesgoogle
authored andcommitted
Add HTTP status code CREATED (201).
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=146661068
1 parent 956df84 commit 2e2e395

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

google-http-client/src/main/java/com/google/api/client/http/HttpStatusCodes.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ public class HttpStatusCodes {
2626
/** Status code for a successful request. */
2727
public static final int STATUS_CODE_OK = 200;
2828

29+
/** Status code for a successful request that has been fulfilled to create a new resource. */
30+
public static final int STATUS_CODE_CREATED = 201;
31+
2932
/**
3033
* Status code for a successful request with no content information.
3134
*

0 commit comments

Comments
 (0)
0