On 2024-04-10, a...@abiscuola.com <a...@abiscuola.com> wrote:
> Is there a way to restore the previous behaviour in relayd(8)

Only by reverting the commit etc.

> or, is there a known workaround for restic, in this case?

That's probably a question for restic really (or possibly the
requirement is coming from a 3rd party REST library).

> I know that relayd(8) is right

It seems a little strict to me.

To my eye, the older version of the HTTP spec requires it ("The
Content-Length entity-header field indicates the size of the
entity-body, in decimal number of OCTETs, sent to the recipient or, in
the case of the HEAD method, the size of the entity-body that would have
been sent had the request been a GET").

That's been replaced now but it's still permitted: "The server SHOULD
send the same header fields in response to a HEAD request as it would
have sent if the request had been a GET, except that the payload header
fields (Section 3.3) MAY be omitted."


-- 
Please keep replies on the mailing list.

Reply via email to