use json content type for both v1 and v2

This commit is contained in:
neilpang 2018-07-26 21:57:22 +08:00
parent 0bc556618f
commit cc2d59468d

View File

@ -1795,11 +1795,8 @@ _send_signed_request() {
return 1 return 1
fi fi
if [ "$ACME_VERSION" = "2" ]; then __request_conent_type="$CONTENT_TYPE_JSON"
__request_conent_type="$CONTENT_TYPE_JSON"
else
__request_conent_type=""
fi
payload64=$(printf "%s" "$payload" | _base64 | _url_replace) payload64=$(printf "%s" "$payload" | _base64 | _url_replace)
_debug3 payload64 "$payload64" _debug3 payload64 "$payload64"