perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: Apache::compat musing
Date Thu, 13 Sep 2001 04:50:07 GMT
On Wed, 12 Sep 2001, Doug MacEachern wrote:

> better yet, we should have a method to query all PerlOptions from Perl,
> end up with something like:
>
>  sub send_http_header {
>      my($r, $type) = @_;
>      if ($type) {
>          $r->content_type($type);
>      }
> +    if ($r->perl_options & ModPerl::OPT_PARSE_HEADERS) {
> +       $r->print("Content-type: $type\n\n");
> +    }
>  }

is it still relevant after your commit which moves send_httpd_header to xs
land?


_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:stas@stason.org   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message