09 Aug '12, 2pm

Any #Ruby experts out there know about using Net::HTTP:Proxy with HTTPS traffic? I got a question

I'm trying to use Net::HTTP::Proxy to proxy HTTPS traffic and I've got the following code: proxy = Net::HTTP::Proxy(proxy_uri.host, proxy_uri.port) http = proxy.start(uri.host) if uri.scheme == 'https' http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE end resp = http.get(path) end But this complains about the session already being started: use_ssl value changed, but session already started How do I get access to the http object to set these values without starting the proxy?

Full article: https://www.ruby-forum.com/topic/4404752

Tweets

130+ Cities Get Google Maps Traffic Data

seroundtable.com 08 Aug '12, 12pm

Google announced they've expanded their traffic data to over 130 smaller cities across the world. The expansion is not jus...

#Ruby on the surface is such a simple language ...

ruby-lang.org 11 Aug '12, 6am

Instance variables are hidden away inside the object. They’re not terribly hidden, you see them whenever you inspect the o...

Do you know how to write an internal DSL in Ruby?:

rubylearning.com 08 Aug '12, 6am

Ruby code blocks (called closures in other languages) are chunks of code between braces or between do- end that you can as...

TRAFFIC Opens Up Submissions For The Live Domai...

thedomains.com 06 Aug '12, 2pm

According an email sent out by the organizers of the TRAFFIC conference they are formally opening up submission for the li...