CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 06:57:29 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/googleapis/java-storage.git
etag: W/"aa8dfcf09430a0ca515d3976db572aa9"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=os3dUw2fS%2Fqs3t1dLJ%2Fd79PCqzJqjFHNUBXF0YzNhZ%2FsEl2D3pAEEjVyXwSutLSWrREV1znRB0F%2BMBxzO5e%2BWdCkOgr0zNlgjd39Anuptr%2BJ4BwmT9gtPd2bMYT95FEb3Wbmd3zAeOPwiLSJCbfjhfszUeZ0I3gvZdw24l6ars5bGNHSxViKeKXGqktuyLqgY91mS56x0pUByMeUZ1fxWoQL79EdpXWM2yAJzxg8RT7oT29Z0DvgilUAHMiermqa8ZbCkYwT7f0GMF7qg9%2FXGQ%3D%3D--a7pKDhlJC2s8SgUC--PkZH8T%2BK1KSLW%2FJohv%2F9Rw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2068667763.1753340248; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 06:57:28 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 06:57:28 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DCD2:0A76:508438:6694D4:6881D958
fix: fix Storage#readAllBytes to allow reading compressed bytes (#2304) · googleapis/java-storage@68b96a9 · GitHub
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/ApiaryUnbufferedReadableByteChannel.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/BlobReadChannelV2.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageImpl.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/GzipReadableByteChannel.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/UnifiedOpts.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/Utils.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/test/java/com/google/cloud/storage/ITGzipReadableByteChannelTest.java
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit 68b96a9
authored
fix: fix Storage#readAllBytes to allow reading compressed bytes (#2304)
Storage#readAllBytes currently ignores BlobSourceOption.shouldReturnRawInputStream(true), fix this so that the option is respected.
Update grpc transport default compression handling for each of the following methods, so it is the same behavior as HTTP:
* GrpcStorage.Impl#readAllBytes
* GrpcStorage.Impl#downloadTo(BlobInfo, Path)
* GrpcStorage.Impl#downloadTo(BlobInfo, OutputStream)
Move the two tests from ITDownloadToTest into new ITAutomaticGzipDecompressionTest which tests compression handling for all read paths.1 parent d4bfcf0 commit 68b96a9Copy full SHA for 68b96a9
File tree
Expand file treeCollapse file tree
11 files changed
+323
-128
lines changedFilter options
- google-cloud-storage/src
- main/java/com/google/cloud/storage
- spi/v1
- test/java/com/google/cloud/storage
- it
Expand file treeCollapse file tree
11 files changed
+323
-128
lines changedgoogle-cloud-storage/src/main/java/com/google/cloud/storage/ApiaryUnbufferedReadableByteChannel.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/ApiaryUnbufferedReadableByteChannel.java+19-13Lines changed: 19 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
104 |
| - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
105 | 110 |
| |
106 | 111 |
| |
107 | 112 |
| |
| |||
124 | 129 |
| |
125 | 130 |
| |
126 | 131 |
| |
127 |
| - | |
| 132 | + | |
| 133 | + | |
128 | 134 |
| |
129 | 135 |
| |
| 136 | + | |
130 | 137 |
| |
131 | 138 |
| |
132 | 139 |
| |
133 |
| - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
134 | 143 |
| |
135 | 144 |
| |
136 | 145 |
| |
| |||
207 | 216 |
| |
208 | 217 |
| |
209 | 218 |
| |
210 |
| - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
211 | 223 |
| |
212 | 224 |
| |
213 |
| - | |
214 |
| - | |
215 |
| - | |
| 225 | + | |
216 | 226 |
| |
217 |
| - | |
218 |
| - | |
219 |
| - | |
| 227 | + | |
220 | 228 |
| |
221 |
| - | |
222 |
| - | |
223 |
| - | |
| 229 | + | |
224 | 230 |
| |
225 | 231 |
| |
226 | 232 |
| |
|
google-cloud-storage/src/main/java/com/google/cloud/storage/BlobReadChannelV2.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/BlobReadChannelV2.java+1-4Lines changed: 1 addition & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
| 47 | + | |
51 | 48 |
| |
52 | 49 |
| |
53 | 50 |
| |
|
google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageImpl.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageImpl.java+14-7Lines changed: 14 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
653 | 653 |
| |
654 | 654 |
| |
655 | 655 |
| |
656 |
| - | |
| 656 | + | |
| 657 | + | |
657 | 658 |
| |
658 | 659 |
| |
659 | 660 |
| |
| |||
681 | 682 |
| |
682 | 683 |
| |
683 | 684 |
| |
| 685 | + | |
| 686 | + | |
684 | 687 |
| |
685 | 688 |
| |
686 | 689 |
| |
687 |
| - | |
| 690 | + | |
688 | 691 |
| |
689 | 692 |
| |
690 | 693 |
| |
691 | 694 |
| |
692 | 695 |
| |
693 |
| - | |
| 696 | + | |
| 697 | + | |
694 | 698 |
| |
695 | 699 |
| |
696 | 700 |
| |
| |||
703 | 707 |
| |
704 | 708 |
| |
705 | 709 |
| |
706 |
| - | |
| 710 | + | |
| 711 | + | |
707 | 712 |
| |
708 | 713 |
| |
709 | 714 |
| |
| |||
1801 | 1806 |
| |
1802 | 1807 |
| |
1803 | 1808 |
| |
1804 |
| - | |
1805 |
| - | |
| 1809 | + | |
| 1810 | + | |
1806 | 1811 |
| |
1807 | 1812 |
| |
1808 | 1813 |
| |
1809 | 1814 |
| |
1810 | 1815 |
| |
1811 | 1816 |
| |
| 1817 | + | |
| 1818 | + | |
1812 | 1819 |
| |
1813 | 1820 |
| |
1814 | 1821 |
| |
1815 |
| - | |
| 1822 | + | |
1816 | 1823 |
| |
1817 | 1824 |
| |
1818 | 1825 |
| |
|
google-cloud-storage/src/main/java/com/google/cloud/storage/GzipReadableByteChannel.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/GzipReadableByteChannel.java+5-3Lines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
| |||
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
30 |
| - | |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 |
| - | |
| 63 | + | |
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
| |||
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
89 |
| - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
90 | 92 |
| |
91 | 93 |
| |
92 | 94 |
| |
|
google-cloud-storage/src/main/java/com/google/cloud/storage/UnifiedOpts.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/UnifiedOpts.java-12Lines changed: 0 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2301 | 2301 |
| |
2302 | 2302 |
| |
2303 | 2303 |
| |
2304 |
| - | |
2305 |
| - | |
2306 |
| - | |
2307 |
| - | |
2308 |
| - | |
2309 |
| - | |
2310 |
| - | |
2311 |
| - | |
2312 |
| - | |
2313 |
| - | |
2314 |
| - | |
2315 |
| - | |
2316 | 2304 |
| |
2317 | 2305 |
| |
2318 | 2306 |
| |
|
google-cloud-storage/src/main/java/com/google/cloud/storage/Utils.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/Utils.java+26Lines changed: 26 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
| 28 | + | |
27 | 29 |
| |
28 | 30 |
| |
29 | 31 |
| |
| |||
310 | 312 |
| |
311 | 313 |
| |
312 | 314 |
| |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
313 | 339 |
|
google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
752 | 752 |
| |
753 | 753 |
| |
754 | 754 |
| |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
755 | 761 |
| |
756 | 762 |
| |
757 | 763 |
| |
|
google-cloud-storage/src/test/java/com/google/cloud/storage/ITGzipReadableByteChannelTest.java
Copy file name to clipboardExpand all lines: google-cloud-storage/src/test/java/com/google/cloud/storage/ITGzipReadableByteChannelTest.java+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
245 | 245 |
| |
246 | 246 |
| |
247 | 247 |
| |
248 |
| - | |
| 248 | + | |
249 | 249 |
| |
250 | 250 |
| |
251 |
| - | |
| 251 | + | |
252 | 252 |
| |
253 | 253 |
| |
254 | 254 |
| |
|
google-cloud-storage/src/test/java/com/google/cloud/storage/UtilsTest.java
Copy file name to clipboard+67Lines changed: 67 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + |
You can’t perform that action at this time.
0 commit comments