RFC 9112 section 2.2:
Although the line terminator for the start-line and fields is the sequence CRLF, a recipient MAY recognize a single LF as a line terminator and ignore any preceding CR.
This is a grey area but my reading of RFC 9110 and RFC 9112 is that while a bare LF isn't allowed in a field value, it may - in HTTP/1.1 - be interpreted as end of line (or converted to a single space).