File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,25 @@ The S3 origin responds with `HTTP 206 Partial Content` and includes two useful h
1616
1717The file is then downloaded chunk by chunk using ` Range: bytes=<start>-<end> ` , and the final file is verified against the expected size and checksum.
1818
19+ You can probe an asset manually with ` curl ` :
20+
21+ ``` bash
22+ curl --silent --show-error --location \
23+ --header " Range: bytes=0-0" \
24+ --dump-header - \
25+ --output /dev/null \
26+ " https://data.geo.admin.ch/ch.swisstopo.pixelkarte-farbe/pixelkarte-farbe/ch.swisstopo.pixelkarte-farbe_3857_0.5.tar"
27+ ```
28+
29+ The response headers will contain the total size and checksum:
30+
31+ ```
32+ HTTP/2 206
33+ content-range: bytes 0-0/102265118720
34+ x-amz-meta-sha256: <hex>
35+ ...
36+ ```
37+
1938::: tip
2039` HEAD ` requests are ** also blocked** by CloudFront for objects > 50 GB. Always use ` GET ` with a ` Range ` header to probe asset metadata.
2140:::
You can’t perform that action at this time.
0 commit comments