Deprecated since version 3.9: Deprecated in favor of status.
urllib.response/addinfourl.getcode
addinfourl.getcode