[mod_python] POST arrays

Jean-Philippe Barrette-LaPierre jpbarrette at savoirfairelinux.net
Wed Aug 25 10:46:55 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On August 25, 2004 09:25 am, Jean-Philippe Barrette-LaPierre wrote:
> Is it possible that POST arrays aren't supported by mod_python? When I'm
> talking about POST arrays, I'm talking about this:
>
> <form method="POST">
> 	<input type="text" name="customer[test]"/>
> </form>
>
>
> in php, customer would be an array with a key "test". In mod_python we
> receive a variable named "customer[test]". I would be easy to handle it in
> the publisher. If you're interessed in that functionnality, I can send you
> some code that will handle this behavior.

It would be great to receive this customer variable (as a dict) as an argument
to the action.

- --
Jean-Philippe Barrette-LaPierre
Maintener of curlpp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBLJhP4k/6r/h0g7kRAm/sAJoCyoYJNtmHFjB3LvGuqvpO51xCAgCfXMyI
iPuZNFsAOpgzHb3izlb+6as=
=ttzl
-----END PGP SIGNATURE-----


More information about the Mod_python mailing list