Method:
|
* Use a different host name than the default host name 'https://storage.googleapis.com'. This |
Despite this being a method to supply the hostname (e.g. storage.googleapis.com), this actually requires that you pass in the entire base URL (e.g. https://storage.googleapis.com). To fix this, I propose that we:
- Change the method's docstring to suggest passing in only the hostname.
- Silently support the previous functionality to keep from breaking current users; when parsing the argument, we'd just strip off the scheme portion (
http[s]://) if it's present.
Method:
google-cloud-java/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java
Line 1124 in 1c6a1da
Despite this being a method to supply the hostname (e.g. storage.googleapis.com), this actually requires that you pass in the entire base URL (e.g. https://storage.googleapis.com). To fix this, I propose that we:
http[s]://) if it's present.