Browse Source

Update login api

support http1.1 and http2 302
pull/3195/head
jinhill 4 years ago
committed by GitHub
parent
commit
ccf5a24787
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dnsapi/dns_geos.sh

2
dnsapi/dns_geos.sh

@ -89,7 +89,7 @@ _login() {
_err "geoscaling login failed for user $GEOS_Username bad RC from _post"
return 1
fi
resp_header=$(grep 'HTTP/2 302' "$HTTP_HEADER")
resp_header=$(grep '302' "$HTTP_HEADER")
if [ -z "$resp_header" ]; then
_err "geoscaling login failed for user $GEOS_Username. Check $HTTP_HEADER file"
return 1

Loading…
Cancel
Save