Index: openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl,v diff -u -r1.22 -r1.23 --- openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 4 Jun 2006 00:45:23 -0000 1.22 +++ openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 1 Oct 2006 11:50:49 -0000 1.23 @@ -89,7 +89,11 @@ ns_set put [ns_conn outputheaders] "Content-Length" 0 ns_return 200 text/plain {} } else { - ns_returnfile 200 $mime_type $filename + if {[info procs ad_returnfile_background] eq ""} { + ns_returnfile 200 $mime_type $filename + } else { + ad_returnfile_background 200 $mime_type $filename + } } } }