Skip to content

Commit cab0ebd

Browse files
committed
Fix IllegalArgumentException when OPTIONS in cors
1 parent 3739a1a commit cab0ebd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gcloud-java-storage/src/main/java/com/google/gcloud/storage/HttpMethod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
* Http method supported by Storage service.
2121
*/
2222
public enum HttpMethod {
23-
GET, HEAD, PUT, POST, DELETE
23+
GET, HEAD, PUT, POST, DELETE, OPTIONS
2424
}

0 commit comments

Comments
 (0)