search for: somewhereintim

Displaying 1 result from an estimated 1 matches for "somewhereintim".

Did you mean: somewhereintime
2011 Oct 11
0
Mechanize gem. What's the price?
...n trying to fix a problem when making a https request using Net::HTTP No matter how I tried I was getting and EOF error. Then I tried with Mechanize gem and it worked like a charm. The code I use now for Mechanize is: agent = Mechanize.new agent.keep_alive = true page = agent.post("https://somewhereintime.bla", {''tagid'' => ''b6'', ''source'' => ''email'' }) The code I was using with Net::HTTP was (gives me EOF error): url = URI.parse("https://somewhereintime.bla") req = Net::HTTP::Post.new(url.path) req.set_for...