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