[Mongrel] Reading HTTP Request parameters

2008-01-14 Thread Abir B.
Hello I've a client which send this request to a mongrel HTTPHandler : res=Net::HTTP.post_form(URI.parse('http://localhost:3000/test'),{a=1,b=2}) But in the handler I can't read the parameters one by one, I can read the entire String only : class Serveur class MyHandler Mongrel::HttpHandler

Re: [Mongrel] Reading HTTP Request parameters

2008-01-14 Thread Eden Li
HttpRequest.query_parse(@params.http_body) http://mongrel.rubyforge.org/rdoc/classes/Mongrel/HttpRequest.html#M000126 On Jan 14, 2008 6:12 PM, Abir B. [EMAIL PROTECTED] wrote: Hello I've a client which send this request to a mongrel HTTPHandler :

Re: [Mongrel] Reading HTTP Request parameters

2008-01-14 Thread Abir B.
Eden Li wrote: HttpRequest.query_parse(@params.http_body) http://mongrel.rubyforge.org/rdoc/classes/Mongrel/HttpRequest.html#M000126 :-) that's just what I'm searching (I tried it with a wrong syntax : req.query_parse and it didn't work...) thanks -- Posted via http://www.ruby-forum.com/.

[Mongrel] [ANN] Ebb Web Server

2008-01-14 Thread ry dahl
Hello Mongrel Users, I'm writing a web server called Ebb. It's written in C, makes use of the Mongrel HTTP parser, and uses libev its event loop. The goal is to be small, fast, and language independent server that can host web frameworks. I have written a small Ruby binding which provides a Rack

Re: [Mongrel] [ANN] Ebb Web Server

2008-01-14 Thread Luis Lavena
On Jan 14, 2008 2:43 PM, ry dahl [EMAIL PROTECTED] wrote: Hello Mongrel Users, I'm writing a web server called Ebb. It's written in C, makes use of the Mongrel HTTP parser, and uses libev its event loop. The goal is to be small, fast, and language independent server that can host web

Re: [Mongrel] [ANN] Ebb Web Server

2008-01-14 Thread Ersin Er
Good luck with your new server! I also suggest looking at Thin which has been developed very recently and seems quite promising: http://code.macournoyer.com/thin/ According to the benchmarks it's the fastest Ruby web server currently. On Jan 14, 2008 6:43 PM, ry dahl [EMAIL PROTECTED] wrote:

Re: [Mongrel] [ANN] Ebb Web Server

2008-01-14 Thread ry dahl
A svn repo clone? (git-svn)? Not all jumped into the git bandwagon :-) Sorry - my hosting abilities are limited. I also find the multitude of revision control software annoying (but git seems functional!) apt-get install git ry ___ Mongrel-users

Re: [Mongrel] [ANN] Ebb Web Server

2008-01-14 Thread Marc-André Cournoyer
Hey Ry, Your project looks amazing. I had a look at rev to use libev, but it seems to be Ruby 1.9 only and I'm far from a C expert. So right now Thin uses EventMachine. I really like your idea and I think we could help each other in building something very cool. If you'd like to

Re: [Mongrel] [ANN] Ebb Web Server

2008-01-14 Thread Luis Lavena
On Jan 14, 2008 4:56 PM, ry dahl [EMAIL PROTECTED] wrote: A svn repo clone? (git-svn)? Not all jumped into the git bandwagon :-) Sorry - my hosting abilities are limited. I also find the multitude of revision control software annoying (but git seems functional!) apt-get install git no

Re: [Mongrel] [ANN] Ebb Web Server

2008-01-14 Thread ry dahl
Hi Erza, I'm not sure if glib is installed by default on macs. (Seems like it should be but I don't see it on mine.) If you use fink you can do apt-get install glib2-dev The makefile is pretty hacky - make sure you have libev in your LIBRARY_PATH and ev.h in your CPATH ry On Jan 14, 2008

Re: [Mongrel] [ANN] Ebb Web Server

2008-01-14 Thread Ezra Zygmuntowicz
On Jan 14, 2008, at 8:43 AM, ry dahl wrote: Hello Mongrel Users, I'm writing a web server called Ebb. It's written in C, makes use of the Mongrel HTTP parser, and uses libev its event loop. The goal is to be small, fast, and language independent server that can host web frameworks. I have

Re: [Mongrel] [ANN] Ebb Web Server

2008-01-14 Thread Kevin Williams
An alternative might be github.com. It looks like they provide svn mirrors of your git repos. On Jan 14, 2008 1:50 PM, Luis Lavena [EMAIL PROTECTED] wrote: On Jan 14, 2008 4:56 PM, ry dahl [EMAIL PROTECTED] wrote: A svn repo clone? (git-svn)? Not all jumped into the git bandwagon :-)

Re: [Mongrel] Reading HTTP Request parameters

2008-01-14 Thread Zed A. Shaw
On Mon, 14 Jan 2008 15:39:25 +0100 Abir B. [EMAIL PROTECTED] wrote: Eden Li wrote: HttpRequest.query_parse(@params.http_body) http://mongrel.rubyforge.org/rdoc/classes/Mongrel/HttpRequest.html#M000126 :-) that's just what I'm searching (I tried it with a wrong syntax :