From: Simon Strandgaard Date: 2004-11-27T21:39:57+09:00 Subject: WEBrick HTTPRequest#to_s should never fail, but does While experimenting with XmlHttpRequest, I wanted to dump my req [snip code] def do_POST(req, res) puts "req=#{req.to_s}" # BOOM, HTTPStatus::LengthRequired occured. [snip code] IMO, #to_s should never fail. I think its related to a bad Content-Length:, but is not sure since its difficult to debug when #to_s fails. PS. http://www.webrick.org/ seems to be down? -- Simon Strandgaard btw: thanks, WEBrick is the best.