protojure / lib

A collection of libraries to support Protojure applications at runtime
https://protojure.readthedocs.io
Apache License 2.0
64 stars 14 forks source link

Automatically determine ssl parameter when uri has https scheme (#134) #136

Closed reify-james-vickers closed 2 years ago

reify-james-vickers commented 2 years ago

https://github.com/protojure/lib/issues/133

Convenience enhancement so caller doesn't have to specify :uri for common situations. If uri starts with https:// scheme, then use ssl as true. Still respect provided :ssl param if present.

Added tests for this situation that use circleci.bond for this purpose, since it's difficult to setup an SSL test; this verifies the expected connect call is made.