--tlsv1.3
--proto =https
--max-time 3600
--location
## snapshot.debian.org Varnish header: on its presence snapshot resolves the
## /archive 302 internally and serves the file body (HTTP 200) instead of a
## relative-Location redirect that approx's parser cannot follow (it would fail
## "Cannot parse Location" -> "Too many redirections"). Keyed on presence, not value.
## https://lists.debian.org/debian-snapshot/2024/11/msg00032.html
##
## Demonstrated with 'curl --head' on a snapshot file
## (.../pool/main/h/hello/hello_2.10-3_amd64.deb):
##
##   without the header:                    with the header:
##     HTTP/2 302                             HTTP/2 200
##     location: /file/f322085c.../hello...   content-length: 53080
##     ^ relative Location, approx cannot     ^ body served directly, no redirect
##       parse -> "Too many redirections"
--header "X-Download-Directly: 1"
