=2D----BEGIN PGP SIGNED MESSAGE-----
On Wednesday 26 November 2003 09:38, Jonathan Swartz wrote:
> Isn't the problem that $r->param reads all the POST content, leaving
> nothing for Mason? Or is this an old problem? I remember this used to be
> the case with $r->content.
This is true, if you one routine uses 'instance' and another 'new' to get t=
Apache::Request object. The first one to call param or upload will slurp al=
of the POST content, leaving nothing for the other one.
That is why, as Dave Rolsky pointed out, both must use 'instance'. HTML::Ma=
already uses 'instance' - this was fixed long ago. My handler used 'new'.=20
Once I changed that to 'instance', everything worked wonderfully.
Jonathan M. Gardner
Web Developer, Amazon.com
jonagard@... - (206) 266-2906
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
=2D----END PGP SIGNATURE-----