easysnowdata.catalog.health.http_first_byte#

easysnowdata.catalog.health.http_first_byte(url: str) None[source]#

Raise unless a GET of the first byte of url returns 200 or 206.

GET-first, Range: bytes=0-0, streamed and closed immediately, redirects followed. HEAD is only a fallback when the GET itself fails.