Re: HTTP_NOT_MODIFIED

1999-11-27 Thread Stas Bekman
in the access_log by calling Apache::exit( HTTP_NOT_MODIFIED ). But this results in headers not being properly sent. Here's a test script: Well, I'm not sure you want to use Apache::exit for the logging purposes. I think that you should generate the header before you print something out

HTTP_NOT_MODIFIED

1999-11-23 Thread Bill Moseley
in the access_log by calling Apache::exit( HTTP_NOT_MODIFIED ). But this results in headers not being properly sent. Here's a test script: #!/usr/local/bin/perl5.005 -wT use Apache; # for Apache::exit() use Apache::Constants qw/OK HTTP_NOT_MODIFIED/; use CGI; print CGI::header(-status = '304

Re: HTTP_NOT_MODIFIED

1999-11-23 Thread Stas Bekman
#Terminating_requests_and_process I'm trying to send a 304 error, but also log a 304 error in the access_log by calling Apache::exit( HTTP_NOT_MODIFIED ). But this results in headers not being properly sent. Here's a test script: #!/usr/local/bin/perl5.005 -wT use Apache; # for Apache::exit

Re: HTTP_NOT_MODIFIED

1999-11-23 Thread Bill Moseley
. Are you saying that I can't call Apache::exit( HTTP_NOT_MODIFIED ) in an Apache::Registry script? HTTP/1.1 304 (Not Modified) Same old document Connection: close Date: Tue, 23 Nov 1999 21:12:44 GMT Server: Apache/1.3.9 (Unix) mod_perl/1.21 Content-Type: text/html Client-Date: Tue, 23 Nov