Rest API - HTTP Status Codes
Identify the error in this pseudo-code handling 429 responses:
if response.status == 429:
wait_time = response.headers['Retry-After']
sleep(wait_time)
retry_request()Identify the error in this pseudo-code handling 429 responses:
if response.status == 429:
wait_time = response.headers['Retry-After']
sleep(wait_time)
retry_request()15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions