Skip to content

Commit 4a0862d

Browse files
committed
Merge pull request #178 from mziccard/fix-exception-cors-option
Fix IllegalArgumentException when OPTIONS in cors
2 parents 3739a1a + cab0ebd commit 4a0862d

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)