Index: openacs-4/packages/xotcl-core/tcl/utilities-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/utilities-procs.tcl,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/xotcl-core/tcl/utilities-procs.tcl 21 Jul 2018 11:37:19 -0000 1.1 +++ openacs-4/packages/xotcl-core/tcl/utilities-procs.tcl 22 Jul 2018 08:09:03 -0000 1.2 @@ -20,33 +20,6 @@ ::puts -nonewline $F $content ::close $F } - - nsf::proc ::xo::get_raw_request_body {-as_string:switch -as_file:switch} { - if {$as_string eq $as_file} { - error "either -as_string or -as_file must be specified" - } - set contentfile [ns_conn contentfile] - if {$as_file} { - # - # If the file was not spooled, obtained it via [ns_conn content] - # as write it to a file. - # - if {$contentfile eq ""} { - set contentfile [ad_tmpnam] - write_file $contentfile [ns_conn content -binary] - } - set result $contentfile - } else { - # - # Return the result as a string - # - if {$contentfile eq ""} { - set result [ns_conn content -binary] - } else { - set result [read_file $contentfile] - } - } - return $result - } + }