From: "sahu@firstpost.pub" <sahu@firstpost.pub>
To: 9front@9front.org
Subject: Re: [9front] serving html sites with announce, listen and accept (dial(2))
Date: Mon, 9 Sep 2024 11:09:05 +0200 [thread overview]
Message-ID: <3DA7F898-EE82-4AD7-B45B-555E809A833B@firstpost.pub> (raw)
In-Reply-To: <5a5f00b5-ea70-43f4-a8d4-d0d918f629fc@sirjofri.de>
[-- Attachment #1: Type: text/plain, Size: 1052 bytes --]
Thank you sirjofri! Unfortunately it still does not work, neither with an adjusted header, nor without the header.
Thanks again and best regards
> Am 09.09.2024 um 10:14 schrieb sirjofri <sirjofri+ml-9front@sirjofri.de>:
>
> Hi,
>
> 09.09.2024 09:29:56 sahu@firstpost.pub:
>> Thank you very much! In netcat I’m getting the full response now.
>>
>> Unfortunately, there is still no response in my browser. If anyone has any 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 connection 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
[-- Attachment #2: Type: text/html, Size: 1929 bytes --]
next prev parent reply other threads:[~2024-09-09 9:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-09 5:57 sahu
2024-09-09 6:10 ` Alex Musolino
2024-09-09 7:28 ` sahu
2024-09-09 8:12 ` sirjofri
2024-09-09 9:09 ` sahu [this message]
2024-09-09 10:10 ` sirjofri
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DA7F898-EE82-4AD7-B45B-555E809A833B@firstpost.pub \
--to=sahu@firstpost.pub \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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 NNTP newsgroup(s).