Check both CURLINFO_RESPONSE_CODE and CURLINFO_HTTP_CONNECTCODE for HTTP status code
-rw-r--r-- 3554 .cproject
-rwxr-xr-x 10283 .gbs.conf
-rw-r--r-- 830 .project
-rwxr-xr-x 2811 CMakeLists.txt
-rw-r--r-- 11358 LICENSE.APLv2
drwxr-xr-x - agent
-rw-r--r-- 136 download-agent.pc.in
-rw-r--r-- 68 download-provider.manifest
-rw-r--r-- 140 download-provider.pc.in
-rw-r--r-- 66 download-provider.res
-rwxr-xr-x 287 dump-download-provider.sh.in
drwxr-xr-x - packaging
drwxr-xr-x - po
drwxr-xr-x - provider-interface
drwxr-xr-x - provider
drwxr-xr-x - res
drwxr-xr-x - systemd
drwxr-xr-x - unittest