perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@pobox.com>
Subject Re: $r->content design consideration
Date Wed, 15 Mar 2000 03:26:49 GMT
On Wed, 8 Mar 2000, Alex Schmelkin wrote:
 
> Is there any particular reason why this was designed to only read from the
> client if the Content-type is application/x-www-form-urlencoded?  I
> understand you wouldn't want to try to parse_args() on non-compliant data,
> but is it safe to change $r->content from:

$r->content is a design mistake in general, the functionality doesn't
belong in Apache.pm, but it is handy for simple cases.  if you need more
functionality, use Apache::Request or CGI.pm


Mime
View raw message