8000 Add Method Not Allowed (405) · pan-dora/google-http-java-client@1307062 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1307062

Browse files
Add Method Not Allowed (405)
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120452726
1 parent 75c2b20 commit 1307062

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ public class HttpStatusCodes {
6060
/** Status code for a server that has not found anything matching the Request-URI. */
6161
public static final int STATUS_CODE_NOT_FOUND = 404;
6262

63+
/**
64+
* Status code for a method specified in the Request-Line is not allowed for the resource
65+
* identified by the Request-URI.
66+
* */
67+
public static final int STATUS_CODE_METHOD_NOT_ALLOWED = 405;
68+
6369
/** Status code for a request that could not be completed due to a resource conflict. */
6470
public static final int STATUS_CODE_CONFLICT = 409;
6571

0 commit comments

Comments
 (0)
0