From: MoonWolf Date: 2004-11-05T22:14:09+09:00 Subject: Re: FastCGI parameters (get and post) Patrick May wrote: > > On Thursday, November 4, 2004, at 04:38 PM, J. D. wrote: > >> I see. So I guess, I'd have to do a $stdin = req.in and manually parse >> in order to handle POST requests using FCGI (if I want to avoid using >> CGI object). > > > You might be able to hack something from bits of Narf. The parsing > methods are in a module Web::Parser: > > http://www.narf-lib.org/doc/classes/Web/Parser.html > > Of course, if you like the Narf API you could just use that. Nora supports CGI/mod_ruby/FastCGI. http://raa.ruby-lang.org/project/nora/ interface is automatic detect. some interface works not need chagne source code. example: #!/usr/bin/env ruby require 'web' api = Web::Interface::AUTO.new api.each {|request| response = Web::Response.new api.response request, response }