Forum OpenACS Q&A: Re: Updating header before calling ns_returnredirect
The following script named "redirect.tcl"
ns_set put [ns_conn outputheaders] myHeader foo ns_returnredirect /returns the following to the browser
Connection:keep-alive Content-Length:307 Content-Type:text/html; charset=utf-8 Date:Fri, 21 Apr 2017 17:07:45 GMT Location:/ myHeader:foo Server:NaviServer/4.99.16d4... so, the extra header is includes, everything works as expected. This is with NaviServer 4.99.16d4.
What exact server are you using?