IF Commons GitHub

Net

1 specification, 17 requirements. All libraries

0001 Net

RequirementMechanismWhoNote
FR-001checkbun test suite/net.test.ts: classification, waits, Retry-After, retries against a local server, resume with Range, the SHA-256 check
FR-002checkbun test suite/net.test.ts: a real server on a free port: bodies, cookies, HEAD, a handler that throws, AddrInUse, shutdown by signal
FR-003checkbun test suite/http-client.test.ts: against a local server: decoded reads, denials, statuses, credentials refused and allowed, read-only, backoff with Retry-After and the cap, Link and cursor paging, recorded exchanges
FR-004checkbun test suite/http-client.test.ts: readOnly lets through the POSTs its predicate says only read, and refuses every other write
FR-005checkbun test suite/http-client.test.ts: a SigV4 transport signs each request to a recorded server, and the live transport still refuses it unless allowed
FR-006checkbun test suite/tcp.test.ts: listen, connect, TLS with a test certificate
FR-007checkbun test suite/dns.test.ts: resolution and its errors against a small DNS server on a free UDP port
FR-008checkbun test suite/acme.test.ts: a name and its wildcard issued by a fake CA, the TXT values computed from its tokens and the account key
FR-009checkbun test suite/acme.test.ts: the fake CA verifies every JWS (ES256, nonce spent once, url, jwk only for newAccount, kid after), badNonce retried
FR-010checkbun test suite/acme.test.ts: an account made with no key, found again with the key it gave back, asked for then made for an unknown key
FR-011checkbun test suite/acme.test.ts: records removed after success and after an invalid authorization; a removal that fails is a warning
FR-012checkbun test suite/acme.test.ts: the directory down, an invalid authorization, the DNS throwing, the network failing, the wait running out: each a Result with one sentence
FR-013checkbun test suite/acme.test.ts: the CSR's signature verified with its own SPKI, its common name and SANs read back
FR-014checkbun test suite/acme.test.ts: notAfter of certificates made with der in UTCTime and GeneralizedTime, the first of a chain, needsRenewal at the edges
FR-015checkbun test suite/acme.test.ts: cloudflareDns against a fake API on a local server: zone by name, a quoted TXT added and deleted, the errors
FR-016checkbun test suite/otel-net.test.ts: with no pipeline the client and serve make no span and pass no traceparent; with one, the server's span is the client's child and the URL is redacted; the receiver makes no span of its own
FR-017checkbun run verifythe package is built, inspected and packed by tools/pack.ts; tests/commons-packages.test.ts installs the tarball and runs every entry on Node 26 and Bun and type-checks a consumer

Titles, headings, exports, tables, columns and requirements. Esc closes.