On May 11, 2007, at 12:05 PM, Michael Peters wrote:
Okay, quick question related to this. How do I send the appropriate Content-Length headers in a situation where I don't read all of the data into memory. Currently, I do something like this: my $output = "Some string"; { use Apache2::Response(); use bytes; $r->set_content_length(length($output)); } $r->rflush(); $r->print($output); If I'm chunking would I re-send the Content-Length header for each chunk? I'm assuming the Bucket Brigade has something to do with this being received by the browser okay... Boysenberry Payne |
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.