Added retry on HTTP 503 response

Based on https://cloud.google.com/apis/design/errors#retrying_errors,
HTTP 503 is a temporary error that should be retried with exponential
backoff. The script currently only looks for 500 and 502 errors.

Bug: 96020
Change-Id: I07b30062779ffcd66ed365b02f70b2f85a8d2154
Reviewed-on: https://fuchsia-review.googlesource.com/c/tools/+/660747
Reviewed-by: Oliver Newman <olivernewman@google.com>
Commit-Queue: David Song <wintermelons@google.com>
1 file changed
tree: fb4a773d451478c0481f99aa354f70d841f5f2ee
  1. buildidtool/
  2. debugsyms/
  3. gndoc/
  4. .gitignore
  5. go.mod
  6. go.sum
  7. manifest
  8. README.md
README.md

tools

All tools have been moved to fuchsia.git at https://fuchsia.googlesource.com/fuchsia/+/refs/heads/master/tools.