[Opa] POST requests
François-Régis Sinot
francois-regis.sinot at mlstate.com
Wed Oct 5 12:59:16 EDT 2011
Le mercredi 05 octobre 2011 à 12:40 -0400, Owen Gunden a écrit :
> > It turns out to be not quite as straight-forward [...]
Ok, maybe there's a function to add to the stdlib here.
> Actually, I just discovered that UriParser.query_parser fails if you
> post a blank field, e.g. the POST request body looks like this:
> "email=&first=owen". Back to the search for how to parse a POST
> query..
I'd say either this string is not valid (according to the RFC), or this
is a bug of UriParser.query_parser. In both cases, it's worth making it
more tolerant. (If you're compiling from sources, I'd bet it's easy to
fix).
Cheers,
--
François-Régis Sinot
R&D @ MLstate
104 rue du Faubourg Saint-Antoine, 75012 Paris, France
More information about the Opa
mailing list