KKDad / piwigo-api

Ruby gem to interact with Piwigo API
MIT License
0 stars 1 forks source link

Using SSL with Net::HTTP #9

Open tetraf opened 1 year ago

tetraf commented 1 year ago

Initially I thought it would be enough to add this after line 98: http.use_ssl = https https://github.com/KKDad/piwigo-api/blob/2c6db5c1306a71edb27c6fbef2f8a9ca71c2a151/lib/piwigo/session.rb#L98-L99 But after looking at the other files, I think we should either add this modification to the other files, since they initiate their own http connection, or make Session share its own http connection.