Junkone wrote:
> On Jun 2, 7:01am, Marc Heiler <sheve... / linuxmail.org> wrote:
>> Any news about the status of this?
>> --
>> Posted viahttp://www.ruby-forum.com/.
> 
> i tried to put the patch into my open-uri.rb and it failed with a new
> error
> irb(main):007:0*  open("https://www.interactivebrokers.com/Universal/
> servlet/FlexStatementService.GetStatement?
> t=1437758&q=1126698&v=2",:ssl_verify => true){|f|puts f}
> NoMethodError: undefined method `enable_post_connection_check=' for
> #<Net::HTTP www.interactivebrokers.com:443 open=false>
>         from e:/ruby/lib/ruby/1.8/open-uri.rb:242:in `open_http'
>         from e:/ruby/lib/ruby/1.8/open-uri.rb:643:in `buffer_open'
>         from e:/ruby/lib/ruby/1.8/open-uri.rb:170:in `open_loop'
>         from e:/ruby/lib/ruby/1.8/open-uri.rb:168:in `catch'
>         from e:/ruby/lib/ruby/1.8/open-uri.rb:168:in `open_loop'
>         from e:/ruby/lib/ruby/1.8/open-uri.rb:138:in `open_uri'
>         from e:/ruby/lib/ruby/1.8/open-uri.rb:545:in `open'
>         from e:/ruby/lib/ruby/1.8/open-uri.rb:30:in `open'
>         from (irb):7

So basically if you are using ruby 1.8.6 (for me I'm using it on 
BackTrack3) you simply omit the 'http.enable_post_connection_check = 
true' from the code mentioned above and also remove 
'sock.post_connection_check(target_host)'
that's it! I am using the open-uri just fine now to push thru multiple 
URLs from an input file out to my local proxy in order to built a site 
map via BurpSuite.

-- 
Posted via http://www.ruby-forum.com/.