pkgcheck.addons.net module

Various support for network checks.

class pkgcheck.addons.net.Session(concurrent=None, timeout=None, user_agent=None)[source]

Bases: Session

Custom requests session handling timeout, concurrency, and header settings.

send(req, **kwargs)[source]

Send a given PreparedRequest.

Return type:

requests.Response