public inbox for
 help / color / mirror / Atom feed
From: Retropikzel <>
Subject: HTTP Response output port
Date: Fri, 11 Jun 2021 06:10:25 +0000	[thread overview]
Message-ID: <> (raw)


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

                 reply	other threads:[~2021-06-11  6:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).