For interpreted files, the server should use chunked transfer encoding, and send the data while reading it in chunks.