HTTP Response output port

Retropikzel retropikzel@iki.fi
Fri Jun 11 06:10:25 GMT 2021


Hello,

on reference manual under title "Generating HTTP Responses" it says that:

"Note that response-header does not actually do anything until it is
"printed" to the standard output."

(display...) just outputs it to the servers output, not to the response.
Is there a way to obtain the port in which I could print out the
response-header? Or optionally is there a way to put them somewhere and
then, at the end of the script output the whole list with response body?

My problem is that I would like to set headers on places that do not
return to the "standard output".

- Retropikzel


More information about the Kawa mailing list