diff -Nur dehydrated-0.5.0.ori/dehydrated dehydrated-0.5.0/dehydrated --- dehydrated-0.5.0.ori/dehydrated 2018-01-13 14:08:12.000000000 -0500 +++ dehydrated-0.5.0/dehydrated 2018-02-16 17:41:12.261000000 -0500 @@ -424,7 +424,7 @@ statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -s -w "%{http_code}" -o "${tempcont}" "${2}" -I)" curlret="${?}" elif [[ "${1}" = "get" ]]; then - statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -s -w "%{http_code}" -o "${tempcont}" "${2}")" + statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -L -s -w "%{http_code}" -o "${tempcont}" "${2}")" curlret="${?}" elif [[ "${1}" = "post" ]]; then statuscode="$(curl ${ip_version:-} ${CURL_OPTS} -s -w "%{http_code}" -o "${tempcont}" "${2}" -d "${3}")"