crim-ca/stac-populator

Emit a warning in the other case if the endpoint becomes unreachable

matprov opened this issue · 0 comments

For example protected routes, rate-limited, etc.

Same applies for other requests.

r = requests.get(os.path.join(stac_host, "collections", collection_id))
if r.status_code == 200: