skgandikota/WaitForUrl

Poll a URL until it returns the expected HTTP status or body content. Useful for deploy-then-verify pipelines.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
urlThe URL to poll.yes
expected_statusExpected HTTP status code (e.g. 200). Checked on each poll.no200
expected_bodySubstring that must appear in the response body to consider it ready.no""
methodHTTP method to use for polling.noGET
headersJSON string of headers to include.no{}
intervalPolling interval in seconds.no5
timeoutMaximum time to wait in seconds before failing.no120
follow_redirectWhether to follow redirects (true/false).notrue
namedescription
statusThe final HTTP status code.
bodyThe final response body.
time_elapsedTotal time elapsed in seconds until success or timeout.
attemptsNumber of polling attempts made.
successWhether the expected condition was met (true/false).