Mercurial > repos > rliterman > csp2
annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/lib/python3.8/site-packages/requests/certs.py @ 69:33d812a61356
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 17:55:14 -0400 |
parents | |
children |
rev | line source |
---|---|
jpayne@69 | 1 #!/usr/bin/env python |
jpayne@69 | 2 |
jpayne@69 | 3 """ |
jpayne@69 | 4 requests.certs |
jpayne@69 | 5 ~~~~~~~~~~~~~~ |
jpayne@69 | 6 |
jpayne@69 | 7 This module returns the preferred default CA certificate bundle. There is |
jpayne@69 | 8 only one — the one from the certifi package. |
jpayne@69 | 9 |
jpayne@69 | 10 If you are packaging Requests, e.g., for a Linux distribution or a managed |
jpayne@69 | 11 environment, you can change the definition of where() to return a separately |
jpayne@69 | 12 packaged CA bundle. |
jpayne@69 | 13 """ |
jpayne@69 | 14 from certifi import where |
jpayne@69 | 15 |
jpayne@69 | 16 if __name__ == "__main__": |
jpayne@69 | 17 print(where()) |