net-http
net-http copied to clipboard
Add Net::HTTP#ssl_options attribute
This adds a Net::HTTP#ssl_options attribute for setting options on the underlying OpenSSL::SSL::SSLContext instance, allowing SSL options to be set per connection instead of globally.
There was a feature request for this some years ago: https://bugs.ruby-lang.org/issues/9450