HttpParseStatusAndHeaders
procedure HttpParseStatusAndHeaders(const aBuf: tBytes; aHeaderEnd: Integer; aResponse: tHttpResponse);
HttpParseStatusAndHeaders reads the status line and header block occupying aBuf[0..aHeaderEnd-1] into aResponse. Obsolete line folding (RFC 9110 s5.2) is appended to the preceding field value rather than added as a fresh field, so that a lookup - which returns the FIRST match - cannot see the unfolded original ahead of its own continuation. Raises eHttpError on a malformed status line.