Functions

f
getHeaderName(word: string): string | null

The one header a headers.etag or headers[etag] asks for, or null where that is not what was said.

f
getHeaderType(word: string): "sent" | "received" | null

The side a headers.sent or header['received'] names, or null where it names neither.

f
parseRequestPart(asked: string): { kind: RequestPart; target: string; name?: string; }

The part a trailing word or two names, and whatever came before it.

f
printRequestReferenceNotFound(
repl: ReplContext,
reference: RequestReference
): void

Said in terms of HOW it was looked for: an id, a position and a URL each miss differently.

Variables

v
command: ReplCommand

.request — what a request actually was, after the fact.