neil 2020-05-24 18:04:47 +08:00
parent 8837f7e6e8
commit 15dded712c

View File

@ -4517,7 +4517,7 @@ $_authorizations_map"
_info "Pending" _info "Pending"
elif [ "$status" = "processing" ]; then elif [ "$status" = "processing" ]; then
_info "Processing" _info "Processing"
_retryafter=$(echo "$responseHeaders" | grep -i "^Retry-After *:" | cut -d : -f 2 | tr -d ' ') _retryafter=$(echo "$responseHeaders" | grep -i "^Retry-After *:" | cut -d : -f 2 | tr -d ' ' | tr -d '\r')
_debug "_retryafter" "$_retryafter" _debug "_retryafter" "$_retryafter"
if [ "$_retryafter" ]; then if [ "$_retryafter" ]; then
_info "Retry after: $_retryafter" _info "Retry after: $_retryafter"