Last active
December 3, 2021 17:06
-
-
Save dgtlctzn/9d00ee85b3871f3c1249d3fde52f822a to your computer and use it in GitHub Desktop.
Status Codes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
async with session.get(url) as response: | |
if response.status == 503: | |
# do some work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment