Re: [naviserver-devel] What's the replacement of [curl -u] in [ns_http]

2021-02-22 Thread Iuri de Araujo Sampaio
So far, I've found a previous post, from myself :-), regarding quite the same problem. https://www.mail-archive.com/naviserver-devel@lists.sourceforge.net/msg03818.html > > Ok, now add some Authorization. As

Re: [naviserver-devel] What's the replacement of [curl -u] in [ns_http]

2021-02-22 Thread David Osborne
Hi Luri, There may be a better way but you could construct the Basic Auth header by hand and set in the outgoing $req_headers. Something similar in here: https://openacs.org/api-doc/proc-view?proc=util::http::basic_auth_p=1 On Sun, 21 Feb 2021 at 23:34, Iuri de Araujo Sampaio wrote: > Hello