Curl fails on some sites e.g.: https://hazards.fema.gov/gis/nfhl/rest/services/KMZ/KMZ/MapServer?f=json I test curl from debian sid and also I build it from source, with the same results. The previous URL works perfectly on browsers (chrome & firefox) and also with wget[2].