Fix two issues observed when downloading the GeoIP database via cURL with HTTP/2:
CURLOPT_HTTPHEADERcauses curl to error "Failed sending HTTP request". Sending it via
CURLOPT_RANGEinstead has been tested with HTTP/1.1 and HTTP/2 and works with both.
Perfect, this fixes it for me!
There might be more HTTP/2 bugs in Matomo, but at least this download now works fine.