Re: HTTP_NOT_MODIFIED

1999-11-27 Thread Stas Bekman
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: Well, I'm not sure you want to use Apache::exit for the logging purposes. I think that you shoul

Re: HTTP_NOT_MODIFIED

1999-11-23 Thread Bill Moseley
example below. 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_per

Re: HTTP_NOT_MODIFIED

1999-11-23 Thread Stas Bekman
l.apache.org/guide/porting.html#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: >

HTTP_NOT_MODIFIED

1999-11-23 Thread Bill Moseley
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() use Apache::Constants qw/OK HTTP_NOT_MODIFIED/; use CGI; print CGI::he