|
|
Log in / Subscribe / Register

Adding Requests to the standard library

Adding Requests to the standard library

Posted Apr 23, 2015 22:08 UTC (Thu) by debacle (subscriber, #7114)
In reply to: Adding Requests to the standard library by bartavelle
Parent article: Adding Requests to the standard library

I occasionally add self-signed or otherwise trusted certificates (i.e. I have more trust in them than in any others) to the system by copying them to /usr/local/share/ca-certificates and sudoing update-ca-certificates. Would requests need an additional step?


to post comments

Adding Requests to the standard library

Posted Apr 27, 2015 6:18 UTC (Mon) by bernat (subscriber, #51658) [Link] (2 responses)

The documentation about that is here: http://docs.python-requests.org/en/latest/user/advanced/#...

Adding Requests to the standard library

Posted Apr 27, 2015 8:55 UTC (Mon) by debacle (subscriber, #7114) [Link] (1 responses)

Thanks for the link. I tried requests.get() with Debian Jessie. python3-requests works correctly without need for any special steps. update-ca-certificates just works.

Adding Requests to the standard library

Posted May 1, 2015 12:53 UTC (Fri) by mgedmin (guest, #34497) [Link]

I believe Debian unbundles all of Requests' bundled dependencies (like urllib3) and makes it work with system libraries. This includes the CA certificates.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds