Skip to content

Instantly share code, notes, and snippets.

@kennethreitz
Created February 29, 2012 19:48
Show Gist options
  • Save kennethreitz/1943933 to your computer and use it in GitHub Desktop.
Save kennethreitz/1943933 to your computer and use it in GitHub Desktop.
# Default, CA Bundle, like browser. Today.
requests.get(..., verify=True)
# No SSL check. Today.
requests.get(..., verify=False)
# Private PEM
requests.get(..., cert='/path/to.pem')
# Private Cert / Key
requests.get(..., cert=('cert', 'key'))
# No SSL check.
requests.get(..., cert='/path/to.pem', verify=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment