storage: HTTP 416 on GET request of 0 length file #2076
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
Steps to reproduce
PRIVATE_KEY
,SERVICE_ACCOUNT
,GCS_BUCKET
andGCS_OBJECT
insrc/main/java/com/example/App.java
mvn compile
then run withmvn exec:java -Dexec.mainClass=com.example.App -Djava.util.logging.config.file=logging.properties
Similar issue
It seems
Storage.Objects.Get.executeMediaAndDownloadTo()
addsRange: bytes=0-33554431
which leads to416 Requested range not satisfiable
. A similar report can be found in golang client library.The text was updated successfully, but these errors were encountered: