3 ms·
Oh interesting - I hadn't considered using --time-cond. I'm always a bit suspicious of If-Modified-Since because I'm never sure which timezones will be in effe
by simonw 5y ago
Oh interesting - I hadn't considered using --time-cond.
I'm always a bit suspicious of If-Modified-Since because I'm never sure which timezones will be in effect - so I tend to use ETags instead, which achieve the same goal without involving any clock time.
I actually wrote a tiny Python CLI tool for doing those, designed to be used in CI: https://pypi.org/project/conditional-get/ https://pypi.org/project/conditional-get/