From cab0ebdc005dea7c06773c631d2acdf72fd54773 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 24 Sep 2015 17:09:23 +0200 Subject: [PATCH] Fix IllegalArgumentException when OPTIONS in cors --- .../src/main/java/com/google/gcloud/storage/HttpMethod.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcloud-java-storage/src/main/java/com/google/gcloud/storage/HttpMethod.java b/gcloud-java-storage/src/main/java/com/google/gcloud/storage/HttpMethod.java index 9d7944140915..e2a4563316d3 100644 --- a/gcloud-java-storage/src/main/java/com/google/gcloud/storage/HttpMethod.java +++ b/gcloud-java-storage/src/main/java/com/google/gcloud/storage/HttpMethod.java @@ -20,5 +20,5 @@ * Http method supported by Storage service. */ public enum HttpMethod { - GET, HEAD, PUT, POST, DELETE + GET, HEAD, PUT, POST, DELETE, OPTIONS }