mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-09 16:01:46 +00:00
use export for headers
This commit is contained in:
parent
383fa8401d
commit
9efd40a366
@ -100,7 +100,7 @@ _dns_do_soap() {
|
|||||||
</env:Envelope>'
|
</env:Envelope>'
|
||||||
|
|
||||||
# set SOAP headers
|
# set SOAP headers
|
||||||
_H1="SOAPAction: ${DO_URL}#${func}"
|
export _H1="SOAPAction: ${DO_URL}#${func}"
|
||||||
|
|
||||||
if ! response="$(_post "${_xml}" "${DO_URL}")"; then
|
if ! response="$(_post "${_xml}" "${DO_URL}")"; then
|
||||||
_err "Error <$1>"
|
_err "Error <$1>"
|
||||||
@ -109,7 +109,7 @@ _dns_do_soap() {
|
|||||||
_debug2 "SOAP response $response"
|
_debug2 "SOAP response $response"
|
||||||
|
|
||||||
# retrieve cookie header
|
# retrieve cookie header
|
||||||
_H2="$(_egrep_o 'Cookie: [^;]+' <"$HTTP_HEADER" | _head_n 1)"
|
export _H2="$(_egrep_o 'Cookie: [^;]+' <"$HTTP_HEADER" | _head_n 1)"
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user