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
def process(req, resp)
…
@params=req.params @params.http_body
…
end
end
…
end
@params.http_body give me :
a=1&b=2 which is a string
I would like a code which return me 1 for something[:a] and 2 for
something[:b]…
thanks