For some yet-unknown reason URLSessionDelegate isn't called if the baseURL is set to https://localhost.
Adding 127.0.0.1 and 0.0.0.0 to the allow list when trying to connect over SSL where provider is exposing its endpoints using a self-signed certificate. This will enable users to actually set up the mockService and .run() the Pact tests against mock-server.
This way mockService can be instantiated with using:
For some yet-unknown reason
URLSessionDelegate
isn't called if the baseURL is set tohttps://localhost
. Adding127.0.0.1
and0.0.0.0
to the allow list when trying to connect over SSL where provider is exposing its endpoints using a self-signed certificate. This will enable users to actually set up themockService
and.run()
the Pact tests against mock-server.This way
mockService
can be instantiated with using:This was raised in #114