|
@ -1546,7 +1546,7 @@ _post() { |
|
|
_ret="$?" |
|
|
_ret="$?" |
|
|
if [ "$_ret" = "8" ]; then |
|
|
if [ "$_ret" = "8" ]; then |
|
|
_ret=0 |
|
|
_ret=0 |
|
|
_debug "wget returns 8, the server returns a 'Bad request' respons, lets process the response later." |
|
|
|
|
|
|
|
|
_debug "wget returns 8, the server returns a 'Bad request' response, lets process the response later." |
|
|
fi |
|
|
fi |
|
|
if [ "$_ret" != "0" ]; then |
|
|
if [ "$_ret" != "0" ]; then |
|
|
_err "Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: $_ret" |
|
|
_err "Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: $_ret" |
|
@ -1611,7 +1611,7 @@ _get() { |
|
|
ret=$? |
|
|
ret=$? |
|
|
if [ "$ret" = "8" ]; then |
|
|
if [ "$ret" = "8" ]; then |
|
|
ret=0 |
|
|
ret=0 |
|
|
_debug "wget returns 8, the server returns a 'Bad request' respons, lets process the response later." |
|
|
|
|
|
|
|
|
_debug "wget returns 8, the server returns a 'Bad request' response, lets process the response later." |
|
|
fi |
|
|
fi |
|
|
if [ "$ret" != "0" ]; then |
|
|
if [ "$ret" != "0" ]; then |
|
|
_err "Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: $ret" |
|
|
_err "Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: $ret" |
|
|