gdi / curb-fu

Simple, yet powerful wrapper for taf2's curb (libcurl) library
Other
57 stars 9 forks source link

SSL Option #3

Closed jwo closed 14 years ago

jwo commented 14 years ago

Hey, not a huge deal, but this ended up preventing me from utilizing

built_url = "http://#{url_params[:host]}"

If you were to change to something like

protocol = url_params[:protocol] ||= "http"
built_url = "#{protocol}://#{url_params[:host]}"
jwo commented 14 years ago

oh sorry, so what I needed was HTTPS, not just http

gdi commented 14 years ago

Done and pushed. This will be available in v0.4.4 once rubygems.org starts playing along. Thanks for the request, let me know if it doesn't do what you expect or you have any other quick suggestions like this. Thanks!

-mhw