File tree Expand file tree Collapse file tree
google-cloud-storage/src/main/java/com/google/cloud/storage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -806,7 +806,7 @@ Object getValue() {
806806 }
807807
808808 /**
809- * The HTTP method to be used with the signed URL.
809+ * The HTTP method to be used with the signed URL. Defaults to GET.
810810 */
811811 public static SignUrlOption httpMethod (HttpMethod httpMethod ) {
812812 return new SignUrlOption (Option .HTTP_METHOD , httpMethod .name ());
@@ -815,6 +815,7 @@ public static SignUrlOption httpMethod(HttpMethod httpMethod) {
815815 /**
816816 * Use it if signature should include the blob's content-type.
817817 * When used, users of the signed URL should include the blob's content-type with their request.
818+ * If using this URL from a browser, you must include a content type that matches what the browser will send.
818819 */
819820 public static SignUrlOption withContentType () {
820821 return new SignUrlOption (Option .CONTENT_TYPE , true );
You can’t perform that action at this time.
0 commit comments