Skip to content

Instantly share code, notes, and snippets.

@dhutty
Created October 26, 2016 14:04
Show Gist options
  • Save dhutty/8dd4f40aa6f7c2dfa7cb61765dca555b to your computer and use it in GitHub Desktop.
Save dhutty/8dd4f40aa6f7c2dfa7cb61765dca555b to your computer and use it in GitHub Desktop.
python -c "import requests; requests.get('https://dashboard-proxmox16-1.paslab016001.mc.metacloud.in', verify=False).status"
/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:838: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/security.html
InsecureRequestWarning)
/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:838: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/security.html
InsecureRequestWarning)
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: 'Response' object has no attribute 'status'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment