← requests / src/requests/certs.py
| 1 | #!/usr/bin/env python |
| 2 | |
| 3 | """ |
| 4 | requests.certs |
| 5 | ~~~~~~~~~~~~~~ |
| 6 | |
| 7 | This module returns the preferred default CA certificate bundle. There is |
| 8 | only one — the one from the certifi package. |
| 9 | |
| 10 | If you are packaging Requests, e.g., for a Linux distribution or a managed |
| 11 | environment, you can change the definition of where() to return a separately |
| 12 | packaged CA bundle. |
| 13 | """ |
| 14 | |
| 15 | from certifi import where |
| 16 | |
| 17 | if __name__ == "__main__": |
| 18 | print(where()) |
| 19 |