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/


Reply via email to