printTarget(request: HttpRequest["request"]): string
What a request was for: GET http://localhost:4321/api/users.
One phrase in one colour, because you typed it — it is there to identify an answer, not to be read again. That is also why it no longer gets a line of its own: printStatus carries it after what came back, where it costs nothing and still says which request this is.
import { printTarget } from './print-request.ts'; printTarget({ verb: 'GET', url: 'http://x/y', headers: new Map(), body: null }); // 'GET http://x/y'
request: HttpRequest["request"]