[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
wget2 | Content-Length request header missing on empty POST (#691)
From: |
@MortenBroerup |
Subject: |
wget2 | Content-Length request header missing on empty POST (#691) |
Date: |
Mon, 13 Jan 2025 12:54:52 +0000 |
Morten Brørup created an issue: https://gitlab.com/gnuwget/wget2/-/issues/691
RFC9110 says:
"**A user agent SHOULD send Content-Length in a request when the method defines
a meaning for enclosed content and it is not sending Transfer-Encoding. For
example, a user agent normally sends Content-Length in a POST request even when
the value is 0 (indicating empty content).** A user agent SHOULD NOT send a
Content-Length header field when the request message does not contain content
and the method semantics do not anticipate such data."
Wget2 version 2.2.0 fails to add the "Content-Length: 0" request header when
sending an empty POST request.
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/-/issues/691
You're receiving this email because of your account on gitlab.com.
- wget2 | Content-Length request header missing on empty POST (#691),
@MortenBroerup <=