From: Stefan Walk Date: 2003-03-18T16:10:29+09:00 Subject: Re: Parsing a CGI query (Re: Your favorite Ruby web library?) > i haven't done any POST work yet, but i believe it's mostly the same, > with some checking of CONTENT_LENGTH and such to ensure you have the > data you want. > > happy hacking! > > > -Justin White > > just6979@yahoo.com > http://tin.2y.net/ > AIM: just6979 > > If the request method is post, it depends on the content-type. When `application/x-www-urlencoded' (or alike), it is parsed just like the query string. When `multipart/form-data' (or alike), things get harder. You'd best look at cgi.rb or some other parsing mechanism (for example that one of PHP) to understand how to deal with the boundaries. Stefan