perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor Danilchenko <>
Subject Re: A question about wiring up filehandles for direct dump to HTTP pipe
Date Fri, 22 Feb 2008 23:57:47 GMT
	This solution ended up being perfect, and SIMPLE. I just had to 
sprinkle a little Mime::FileInfo::Magic over the request, to get the 
content-type to work right, and POOF! it worked. Just like that. My 
entire wrapper code (without the accounting, ACL, and somesuch stuff) is 
under 10 lines, and half of it is constructing the 404 responder.

Torsten Foertsch wrote:
> On Fri 22 Feb 2008, Victor Danilchenko wrote:
>> or to grab a given file from disk?
> Perhaps $r->sendfile($filename)? Defined in Apache2::RequestIO.

	Victor Danilchenko
	Senior Software Engineer, - 617-273-0119

View raw message