Skip to content

Commit 8a1afb8

Browse files
danielcomptonandreamlin
authored andcommitted
---
yaml --- r: 8617 b: refs/heads/master c: 90db468 h: refs/heads/master i: 8615: ac6cb60
1 parent c80b2a0 commit 8a1afb8

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: ef1ccd0c55a739a46483f604736e54df77eb9bd9
2+
refs/heads/master: 90db468b0d70701926f4e406215e440d1be29f03
33
refs/heads/travis: 47e4fee4fd5af9b2a8ce46f23c72ec95f9b195b2
44
refs/heads/gh-pages: 6daca92127d91b7c2c99490080ecf8a13fa94cde
55
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444

trunk/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,8 @@ Object getValue() {
893893
}
894894

895895
/**
896-
* The HTTP method to be used with the signed URL.
896+
* The HTTP method to be used with the signed URL.
897+
* If this method is not called, defaults to GET.
897898
*/
898899
public static SignUrlOption httpMethod(HttpMethod httpMethod) {
899900
return new SignUrlOption(Option.HTTP_METHOD, httpMethod.name());
@@ -902,6 +903,7 @@ public static SignUrlOption httpMethod(HttpMethod httpMethod) {
902903
/**
903904
* Use it if signature should include the blob's content-type.
904905
* When used, users of the signed URL should include the blob's content-type with their request.
906+
* If using this URL from a browser, you must include a content type that matches what the browser will send.
905907
*/
906908
public static SignUrlOption withContentType() {
907909
return new SignUrlOption(Option.CONTENT_TYPE, true);

0 commit comments

Comments
 (0)