From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id 54DB12B06D for ; Mon, 9 Sep 2024 10:13:36 +0200 (CEST) Received: from sirjofri.de ([5.45.105.127]) by 9front; Mon Sep 9 04:12:38 -0400 2024 Received: from dummy.faircode.eu ([31.16.254.19]) by sirjofri.de; Mon Sep 9 10:12:33 +0200 2024 Date: Mon, 9 Sep 2024 10:12:32 +0200 (GMT+02:00) From: sirjofri To: 9front@9front.org Message-ID: <5a5f00b5-ea70-43f4-a8d4-d0d918f629fc@sirjofri.de> In-Reply-To: References: <764ACE45EA09860A18C7975011E8737B@musolino.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: <5a5f00b5-ea70-43f4-a8d4-d0d918f629fc@sirjofri.de> List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: secure content-driven deep-learning WEB2.0 over JSON replication interface-scale locator Subject: Re: [9front] serving html sites with announce, listen and accept (dial(2)) Reply-To: 9front@9front.org Precedence: bulk Hi, 09.09.2024 09:29:56 sahu@firstpost.pub: > Thank you very much! In netcat I=E2=80=99m getting the full response now. > > Unfortunately, there is still no response in my browser. If anyone has an= y hints about this, I would be very happy to hear them. Until then, I will = try to understand how a response is composed with the help of tcp80.c from = Igor. The Content-Length in your header is set to 8, which only covers the first = tag, which is invisible. As far as I understand http, you have two options: 1) give it a proper value. This means that the client can reuse the connect= ion by sending another request after the full response is received (HTTP/1.= 1). 2) remove the field completely and explicitly close the connection (e.g. by= ending your program). Good luck sirjofri