rasenmaeher_api.cfssl.base
Base helpers etc
Module Contents
Functions
|
Get the result part |
|
Shorthand for checking the response and getting the cert |
|
Shorthand for checking the response and getting the cert |
|
Construct the base url |
Construct the base url for ocsprest |
|
Anonymous session with content-type set |
Attributes
- exception CFSSLError[source]
Bases:
RuntimeError
CFSSL errors
- exception NoResult[source]
Bases:
CFSSLError
,ValueError
Did not get any result
- exception ErrorResult[source]
Bases:
CFSSLError
,ValueError
Did not get any result
- exception DBLocked[source]
Bases:
CFSSLError
Database is locked, we should probably retry
- exception NoValue[source]
Bases:
CFSSLError
,ValueError
Did not get expected values
- async get_result(response)[source]
Get the result part
- Parameters:
response (aiohttp.ClientResponse)
- Return type:
Any
- async get_result_cert(response)[source]
Shorthand for checking the response and getting the cert
- Parameters:
response (aiohttp.ClientResponse)
- Return type: