cdx_toolkit
cdx_toolkit copied to clipboard
use requests.Session() for increased performance
requests has the ability to maintain and reuse TCP sessions across requests. https://requests.readthedocs.io/en/latest/user/advanced/#session-objects
cdx_toolkit is already too fast, not too slow. Also, you really don't want to reuse http1.1 connections.