I have a FastCGI script which starts creating a file for request and sends redirection header to the client with location of a new file just after a first pice of that file has been written to the HDD. Everything works fine but when client request a file from a redirection, it receives Content-lenght header with length of the file which has already been written to the file when request has been made and the client doesn't receive part of the file which was created after the request.
How can I configure Apache to avoid sending Content-lenght header for uncompleted files and keep sending files until it sends whole completed file?
Regards,
Michal Pietras.