subrequests do not include headers, so if you use $sub->run() to send the subrequest to the client you are required to send headers yourself.

which i can't, since i have no idea about the mime-type etc. of the file ;-/

yes you do - the subrequest found out for you :)


$r->send_http_header($sub->content_type);

to alter this behavior, use $sub->run(1).

Ah, thank's a _lot_, that did it. Now, the only question is: why isn't that documented?

um, it is documented... if you have the Cookbook :)


--Geoff



Reply via email to