fix HEAD request against the new LE CDN.

curl is fixed
This commit is contained in:
neilpang
2019-09-24 20:00:21 +08:00
parent 950d024a11
commit 5723fd112f
2 changed files with 4 additions and 1 deletions

View File

@@ -1697,6 +1697,9 @@ _post() {
if [ "$HTTPS_INSECURE" ]; then
_CURL="$_CURL --insecure "
fi
if [ "$httpmethod" = "HEAD" ]; then
_CURL="$_CURL -I "
fi
_debug "_CURL" "$_CURL"
if [ "$needbase64" ]; then
if [ "$_postContentType" ]; then