Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- makeVerifiedRequest :: Fingerprint Rsa -> HttpsUrl -> (Request -> Request) -> App (Response ByteString)
- makeVerifiedRequestFreshManager :: Fingerprint Rsa -> HttpsUrl -> (Request -> Request) -> App (Response ByteString)
Documentation
makeVerifiedRequest :: Fingerprint Rsa -> HttpsUrl -> (Request -> Request) -> App (Response ByteString) Source #
makeVerifiedRequestFreshManager :: Fingerprint Rsa -> HttpsUrl -> (Request -> Request) -> App (Response ByteString) Source #
NOTE: Use this function wisely - this creates a new manager _every_ time it is called.
We should really _only_ use it in checkLegalHoldServiceStatus
for the time being because
this is where we check for signatures, etc. If we reuse the manager, we are likely to reuse
an existing connection which will _not_ cause the new public key to be verified.