shame on me, at some point I've commented out perlsendheader on :(

everything is fine...

sorry about that... must be a jetlag



On Sat, 31 Mar 2001, Stas Bekman wrote:

> While verifying the correctness of the example in the book:
>
>   print "Content-type: text/plain\012\015\012\015";
>
> (which is the only truly correct way to send headers without using Apache
> Perl API according to HTTP RFC)
>
> with PerlSendHeader On (registry) I've learned that the parsing code fails
> to recognize the end of headers, since it expects \n\n or \r\n\r\n...
>
> I thought those are equivalent and can be used interchangeably:
>
> % perl -le 'print "OK" if "\012" eq "\n"'
> OK
> % perl -le 'print "OK" if "\015" eq "\r"'
> OK
>
> This is under perl-5.6.1-PATCH2
>
> May be it has something to do with underlying XS layer?
>
> _____________________________________________________________________
> Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
> http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
> mailto:[EMAIL PROTECTED]   http://apachetoday.com http://logilune.com/
> http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
>
>



_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Reply via email to