mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 22:51:39 +00:00
minor
This commit is contained in:
parent
d3595686f6
commit
8f48168c73
8
acme.sh
8
acme.sh
@ -579,11 +579,11 @@ _post() {
|
|||||||
fi
|
fi
|
||||||
_debug $httpmethod
|
_debug $httpmethod
|
||||||
if _exists "curl" ; then
|
if _exists "curl" ; then
|
||||||
CURL="$CURL --dump-header $HTTP_HEADER "
|
_CURL="$CURL --dump-header $HTTP_HEADER "
|
||||||
if [ "$needbase64" ] ; then
|
if [ "$needbase64" ] ; then
|
||||||
response="$($CURL -A "User-Agent: $USER_AGENT" -X $httpmethod -H "$_H1" -H "$_H2" -H "$_H3" -H "$_H4" --data "$body" $url | _base64)"
|
response="$($_CURL -A "User-Agent: $USER_AGENT" -X $httpmethod -H "$_H1" -H "$_H2" -H "$_H3" -H "$_H4" --data "$body" $url | _base64)"
|
||||||
else
|
else
|
||||||
response="$($CURL -A "User-Agent: $USER_AGENT" -X $httpmethod -H "$_H1" -H "$_H2" -H "$_H3" -H "$_H4" --data "$body" $url)"
|
response="$($_CURL -A "User-Agent: $USER_AGENT" -X $httpmethod -H "$_H1" -H "$_H2" -H "$_H3" -H "$_H4" --data "$body" $url)"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ "$needbase64" ] ; then
|
if [ "$needbase64" ] ; then
|
||||||
@ -846,7 +846,7 @@ _initpath() {
|
|||||||
dp="$LE_WORKING_DIR/curl.dump"
|
dp="$LE_WORKING_DIR/curl.dump"
|
||||||
CURL="curl -L --silent"
|
CURL="curl -L --silent"
|
||||||
if [ "$DEBUG" ] && [ "$DEBUG" -ge "2" ] ; then
|
if [ "$DEBUG" ] && [ "$DEBUG" -ge "2" ] ; then
|
||||||
CURL="$CURL -L --trace-ascii $dp "
|
CURL="$CURL --trace-ascii $dp "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_DEFAULT_ACCOUNT_KEY_PATH="$LE_WORKING_DIR/account.key"
|
_DEFAULT_ACCOUNT_KEY_PATH="$LE_WORKING_DIR/account.key"
|
||||||
|
Loading…
Reference in New Issue
Block a user