10000 Add status code "Bad Request" (400). · jiubadao/google-http-java-client@956df84 · GitHub
[go: up one dir, main page]

Skip to content

Commit 956df84

Browse files
FanghuiQgarrettjonesgoogle
authored andcommitted
Add status code "Bad Request" (400).
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=141460113
1 parent 81fbe8d commit 956df84

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
@@ -51,6 +51,9 @@ public class HttpStatusCodes {
5151
/** Status code for a resource that has temporarily moved to a new URI. */
5252
public static final int STATUS_CODE_TEMPORARY_REDIRECT = 307;
5353

54+
/** Status code for a request that could not be understood by the server. */
55+
public static final int STATUS_CODE_BAD_REQUEST = 400;
56+
5457
/** Status code for a request that requires user authentication. */
5558
public static final int STATUS_CODE_UNAUTHORIZED = 401;
5659

0 commit comments

Comments
 (0)
0