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 -r1.30.2.16 -r1.30.2.17 --- openacs-4/packages/acs-tcl/tcl/http-client-procs.tcl 13 Jan 2021 13:16:46 -0000 1.30.2.16 +++ openacs-4/packages/acs-tcl/tcl/http-client-procs.tcl 14 Jan 2021 14:40:33 -0000 1.30.2.17 @@ -209,15 +209,7 @@ set preferred [lindex $preference 0] - if {$preferred eq "native" && - [ns_info name] eq "NaviServer" && - [apm_version_names_compare \ - [regsub -nocase {rc[[:digit:]]*$} [ns_info patchlevel] {}] \ - "4.99.15"] >= 0 - } { - # Naviserver has ns_http since before version 4.99.15, but - # with different features and syntax that we do not want to - # support anymore. Fallback will be curl in these cases. + if {$preferred eq "native" && [acs::icanuse ns_http]} { return "native" } elseif {[util::which curl] ne ""} { return "curl"