+# doc : http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html\r
+Net::HTTP.version_1_2\r
+\r
+# hack : http://arosien.blogspot.com/2007/06/increasing-rubys-netbufferedio-buffer.html\r
+module Net\r
+ class BufferedIO\r
+ def rbuf_fill\r
+ timeout(@read_timeout) { @rbuf << @io.sysread(32768) }\r
+ end\r
+ end\r
+end\r
+\r
+connexion = Net::HTTP::new('www.allocine.fr').start\r
+connexion.finish\r
+html = connexion.get("/film/fichefilm_gen_cfilm=120576.html").body \r
+p html
\ No newline at end of file