Thank you for your replay yes, flush the headers is really work but only in IE (in Firefox it doesn't work) and its work only in cycle
while (<PIPE>) { $r->rflush; $r->print( $_ ); }; when i use $r->rflush only one time (before cycle ) it doesn't work. (it set Transfer-Encoding chunked but the page is show entirely at once) rflush help me set follow header Date Mon, 05 Dec 2011 19:07:48 GMT Server Apache/2.2.16 (Ubuntu) Vary Accept-Encoding Content-Encoding gzip Connection close Transfer-Encoding chunked Content-Type text/html but I completely don't undestand what difference between IE and Firefox in this case. 2011/12/5 David Booth <da...@dbooth.org>: > On Mon, 2011-12-05 at 17:39 +0400, Denis Spichkin wrote: > [ . . . ] >> so now I need find out how generate page with out Content-Length in mod_perl > > I believe you need to force Apache to flush the headers. Otherwise it > will try to compute and add the Content-Length header for you. See > http://perl.apache.org/docs/2.0/user/handlers/http.html#item_The_special_case_of__code_Content_Length__0__code_ > > > -- > David Booth, Ph.D. > http://dbooth.org/ > > Opinions expressed herein are those of the author and do not necessarily > reflect those of his employer. >