From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.142]) by sourceware.org (Postfix) with ESMTPS id 645DE383F41F for ; Fri, 11 Jun 2021 06:10:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 645DE383F41F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=iki.fi Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=iki.fi Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 7217C2400E5 for ; Fri, 11 Jun 2021 08:10:27 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4G1VnZ3J0xz6tmT for ; Fri, 11 Jun 2021 08:10:26 +0200 (CEST) Reply-To: retropikzel@iki.fi To: kawa@sourceware.org From: Retropikzel Subject: HTTP Response output port Message-ID: <7cddcfa6-b22e-0b16-5b30-411f017d2da2@iki.fi> Date: Fri, 11 Jun 2021 06:10:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_20, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: kawa@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Kawa mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2021 06:10:30 -0000 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