I guess this has probably been asked before, but Google did not return anything meaningful.

My question is what would be the best way to supply POST vars in PHP notation, that would be converted to a dictionary (in Pyramid):

var[foo]=123 -> becomes request.POST["var"]["foo"] with value 123
var[bar]=456 -> becomes request.POST["var"]["bar"] with value 456

I can write my own function that extracts these from request.POST, but I was wondering if I've missed some documentation or an already existing lib? Now, I know I can handle hierarchical post data with, say, a JSON content type post, but I'm looking for a solution to support client developed for PHP backend, without having to rewrite it.

Thanks!

--

.oO V Oo.

--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to