testing/transports/raw_http.ts view source
(raw: string): number import {raw_http_count_responses} from '@fuzdev/fuz_app/testing/transports/raw_http.js'; Count HTTP response status lines in a raw byte stream. Deliberately
unanchored (no ^/m): a second pipelined response is concatenated
straight after the first response's body, which carries no trailing newline,
so a line-anchored match would miss it — and missing a smuggled second
response is a silent false negative. It counts exactly the status lines as
long as no response header or body contains the literal HTTP/1.x NNN.
raw
stringreturns
number