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
from typing import List | |
def http_error(status: int) -> str: | |
match status: | |
case 400: | |
return "Bad request" | |
case 404: | |
return "Not found" | |
case 418: |