From: "Gustav G." Date: 2002-12-23T22:25:45+09:00 Subject: Re: http header Hi, okay but now I can only see what ruby does. I have a sniffer running to control if its sending the accept command. But there is nothing else shown than GET /index.html. Don't know any further. "ts" schrieb im Newsbeitrag news:200212231211.gBNCBsk05893@moulon.inra.fr... > >>>>> "G" == Gustav G writes: > > G> h = Net::HTTP.new("www.anyserver.de", 80) > G> resp, body = h.get("/index.html", "accept" => "*/*" ) > > Well, it work for me try this > > h = Net::HTTP.new("www.anyserver.de", 80) > h.set_debug_output($stderr) > resp, body = h.get("/index.html", "accept" => "*/*" ) > > > and you'll see what it send > > > Guy Decoux > > > > >