Sorry, I'm not sure if I've found a mod_perl bug or if I'm just doing
something wrong. Any idea why the following behavior happens?:
test1.pl is
use Apache::SubRequest;
Apache->request->lookup_uri("test2.pl")->run;
test2.pl is
print "Content-type: text/html\nSet-Cookie: foo=bar\n\nHello world!";
test2.pl works fine by itself, but when I run test1.pl, the server output
is
HTTP/1.1 200 OK
Date: Mon, 03 Mar 2003 06:48:59 GMT
Server: Apache/2.0.44 (Unix) mod_perl/1.99_08 Perl/v5.8.0 DAV/2
Connection: close
Content-Type: text/plain; charset=ISO-8859-1
Hello world!
i.e., the Content-Type and Set-Cookie in test2.pl get ignored but the
content goes through just fine. Any idea what I'm doing wrong?
Thanks,
Jon
--
----------------------------------------------------------------------
Jon Salz <jsalz at mit dot edu> http://jsalz.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]