#110765ContentLengthResponseHeader does not handle unknown body size
Description
I run into this issue when returning a response using the PropagateResponseException. I can work around it by way of ImmedateReponseException.
However, the PSR explicitly allowes unkown body sizes by returning null from getSize(). ContentLengthResponseHeader should not add the header, when getSize() returns null.
Reviews 3
History 26
-
Gerrit Code Review pushed patch set 1 for main to change 95995 status
NewUnder Review 09/23/26, 15:33 -
Gerrit Code Review pushed patch set 1 for main to change 95996 09/23/26, 15:33
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 96001 09/23/26, 15:49
-
Georg Ringer commented and changed status
Under ReviewResolved done0 %100 % 09/23/26, 15:55 -
Gerrit Code Review pushed patch set 2 for 14.3 to change 96001 status
ResolvedUnder Review 09/23/26, 16:28 -
Georg Ringer commented and changed status
Under ReviewResolved 09/23/26, 16:45Applied in changeset commit:39c0581d3c8d358d7af31a315d565eea492acad8.
Applied in changeset commit:38132f19dab2edff1a137451ba731f1cb62ef494.