Index: openacs-4/packages/acs-tcl/tcl/http-client-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/http-client-procs.tcl,v diff -u -N -r1.21 -r1.22 --- openacs-4/packages/acs-tcl/tcl/http-client-procs.tcl 20 Jul 2018 10:36:19 -0000 1.21 +++ openacs-4/packages/acs-tcl/tcl/http-client-procs.tcl 20 Jul 2018 10:53:18 -0000 1.22 @@ -860,6 +860,7 @@ # create the spool file set spool_file [ad_tmpnam] set wfd [open $spool_file w] + fconfigure $wfd -translation binary # flush currently collected payload puts -nonewline $wfd $payload # set required encoding for next content