requests

import requests

#supressing warning message InsecureRequestWarning: Unverified HTTPS request is being made. requests.packages.urllib3.disable_warnings()

list all status codes

print "\n".join(dir(requests.status_codes.codes))