You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Trevor Phillips <ph...@central.murdoch.edu.au> on 2000/04/27 10:15:01 UTC
Apache::Filter problems with HEAD...
I've discovered some problems that I think are related to Apache::Filter. It
certainly seems to affect only mod_perl scripts which use Apache::Filter...
Basically, when you do a HEAD request method, you don't get any headers back.
In fact, you don't get anything! When you do a normal GET method, you get all
the headers, as well as the page content.
I've tested this with different mod_perl scripts (which all support
Apache::Filter), and they all seem to do it.
Is this a problem with Apache::Filter's handling of HEAD requests?
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: CWIS Systems Administrator - T.Phillips@murdoch.edu.au :
| IT Services - Murdoch University |
>------------------- Member of the #SAS# & #CFC# --------------------<
| On nights such as this, evil deeds are done. And good deeds, of /
| course. But mostly evil, on the whole. /
\ -- (Terry Pratchett, Wyrd Sisters) /
Re: Apache::Filter problems with HEAD...
Posted by Ken Williams <ke...@forum.swarthmore.edu>.
Aha, this is a new bug with the new version of Apache::Filter. As of 1.008,
the headers aren't sent until the first body text is output. That means that
during a HEAD request, they're never sent.
I've got a fix in mind - in the meantime you can downgrade to 1.007.
phillips@central.murdoch.edu.au (Trevor Phillips) wrote:
>I've discovered some problems that I think are related to Apache::Filter. It
>certainly seems to affect only mod_perl scripts which use Apache::Filter...
>
>Basically, when you do a HEAD request method, you don't get any headers back.
>In fact, you don't get anything! When you do a normal GET method, you get all
>the headers, as well as the page content.
>
>I've tested this with different mod_perl scripts (which all support
>Apache::Filter), and they all seem to do it.
>
>Is this a problem with Apache::Filter's handling of HEAD requests?
>
>--
>.. Trevor Phillips - http://jurai.murdoch.edu.au/ .
>: CWIS Systems Administrator - T.Phillips@murdoch.edu.au :
>| IT Services - Murdoch University |
> >------------------- Member of the #SAS# & #CFC# --------------------<
>| On nights such as this, evil deeds are done. And good deeds, of /
>| course. But mostly evil, on the whole. /
> \ -- (Terry Pratchett, Wyrd Sisters) /
>
------------------- -------------------
Ken Williams Last Bastion of Euclidity
ken@forum.swarthmore.edu The Math Forum