ns_puts - Output string to the connection
In the Tcl script this command can be used to output lines in case when the whole response is built manually, not via ns_returnXXXX commands.
ns_puts "HTTP/1.0 200 OK" ns_puts "Content-Type: text/plain" ns_puts "" ns_puts "Response body" ns_conn close