Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
cc2d5946
Commit
cc2d5946
authored
Jul 26, 2018
by
neilpang
Browse files
use json content type for both v1 and v2
parent
0bc55661
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
cc2d5946
...
...
@@ -1795,11 +1795,8 @@ _send_signed_request() {
return
1
fi
if
[
"
$ACME_VERSION
"
=
"2"
]
;
then
__request_conent_type
=
"
$CONTENT_TYPE_JSON
"
else
__request_conent_type
=
""
fi
__request_conent_type
=
"
$CONTENT_TYPE_JSON
"
payload64
=
$(
printf
"%s"
"
$payload
"
| _base64 | _url_replace
)
_debug3 payload64
"
$payload64
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment