# File lib/streamer-http.rb, line 57 def do_sub_get(req, res) doc = XML::Document.new doc.root = XML::Node.new("playlist") write_message(doc.to_s) streamerres = "" begin streamerres = read_reply() rescue Exception => ex SLog.instance.error("got exception in QueryPlaylistServlet: #{ex}") end res.status = 200 res["Content-type"] = "text/xml" res.body = streamerres end