[Mongrel] Reading HTTP Request parameters

Zed A. Shaw zedshaw at zedshaw.com
Mon Jan 14 19:50:48 EST 2008


On Mon, 14 Jan 2008 15:39:25 +0100
"Abir B." <lists at ruby-forum.com> 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 : 
> req.query_parse and it didn't work...)

Yes, sadly you have to do this yourself because all the frameworks have
their own interpretation of how the query parameters are parsed.

-- 
Zed A. Shaw
- Hate: http://savingtheinternetwithhate.com/
- Good: http://www.zedshaw.com/
- Evil: http://yearofevil.com/


More information about the Mongrel-users mailing list