From: Minero Aoki Date: 2001-12-31T04:41:22+09:00 Subject: [ruby-talk:29754] Re: Script (Net module) broken in 1.6.6 In mail "[ruby-talk:29747] Script (Net module) broken in 1.6.6" "Krzysztof P. Jasiutowicz" wrote: > Please help script the was OK in 1.6.4 > now seems to be broken with the error messages : > > /usr/lib/ruby/site_ruby/1.6/net/http.rb:1203:in `readnew': wrong status line: > > (Net::HTTPBadResponse) It seems that Net::HTTP object is reading content body instead of HTTP status line. Please show me your code snip and/or debug output. You can get it by following code: http = Net::HTTP.new(host, port) http.set_debug_output $stderr # .... rest code is same # from command line $ ruby yourcode.rb 2> output Check content of the file "output" BEFORE sending it here. If the file is too big, send it to me directly. -- Minero Aoki