code wiki / http
topic: http
56 modules sharing the http name family (derived from the tree's prefix discipline).
The HTTP layer over the sovereign TLS stack: request parsing, proxying with buffered and streaming modes, fetch-and-follow clients, and the edge behaviors (clean extensionless URLs, content namespaces) that every public site rides. Composes with tls13 below and the site daemons above.
narrated overview -- maintained by the narration lane, module links verified against this wiki.
| module | description | lines | funcs |
|---|---|---|---|
| http.nx | HTTP/1.1 request parser (RFC 7230/9112 subset). | 276 | 10 |
| http_date.nx | format + parse RFC 7231 IMF-fixdate. | 188 | 12 |
| http_resp.nx | HTTP/1.1 response generator. | 198 | 9 |
| nx_http.nx | HTTP/1.1 request parser (RFC 7230/9112 subset). | 300 | 10 |
| nx_http_cache.nx | HTTP caching primitives (ETag + 304). | 327 | 12 |
| nx_http_cache_test.nx | smoke for HTTP cache primitive. | 141 | 3 |
| nx_http_chunked.nx | LIB: HTTP/1.1 chunked transfer-encoding DECODER (RFC 7230 ยง4.1). THE concrete M2 unblock: | 73 | 4 |
| nx_http_chunked_gate.nx | GATE for nx_http_chunked (M2 unblock: decode HF's chunked API responses). Proves | 68 | 6 |
| nx_http_client.nx | sovereign HTTP/1.1 GET client. | 400 | 9 |
| nx_http_client_post_test.nx | KAT for nx_http_client_build_request_post. | 102 | 2 |
| nx_http_date.nx | format + parse RFC 7231 IMF-fixdate. | 195 | 12 |
| nx_http_dechunk.nx | sovereign HTTP/1.1 chunked transfer-encoding decoder. | 66 | 2 |
| nx_http_dechunk_test.nx | KATs + negative controls for the sovereign chunked decoder. | 61 | 5 |
| nx_http_fetch.nx | EAT THE DEBT: a plaintext HTTP (port 80, no TLS) fetch so HTTP-ONLY hosts are reachable. | 132 | 14 |
| nx_http_form.nx | application/x-www-form-urlencoded body parser. | 261 | 6 |
| nx_http_form_test.nx | smoke for urlencoded form parser. | 145 | 2 |
| nx_http_get_ua.nx | reusable HTTP/1.1 GET with a User-Agent (bits-up). | 68 | 4 |
| nx_http_get_ua_test.nx | KAT for the UA request builder (pure, deterministic). | 15 | 1 |
| nx_http_head_probe.nx | diagnostic: fetch a URL and print the HTTP | 81 | 4 |
| nx_http_header_find.nx | case-insensitive HTTP header search. | 180 | 6 |
| nx_http_header_find_test.nx | smoke for case-insensitive header search. | 142 | 3 |
| nx_http_health.nx | probe a live URL for REAL: HTTP 200 + a real body (+ optional expected content), via an | 31 | 1 |
| nx_http_health_emit.nx | /health and /ready endpoint emitter. | 258 | 11 |
| nx_http_health_gate.nx | proves the REAL health check rejects every false-green class that hid the outage: | 43 | 1 |
| nx_http_health_lib.nx | the REAL health check that was missing (the false-green that hid the outage: | 69 | 3 |
| nx_http_health_test.nx | smoke for /health emitter. | 114 | 3 |
| nx_http_io.nx | sovereign HTTP request/response primitives. | 438 | 2 |
| nx_http_loopback_gate.nx | gates the sovereign HTTP client with a LIVE loopback GET against :8080. | 76 | 3 |
| nx_http_metrics.nx | Prometheus-text /metrics endpoint emitter. | 330 | 14 |
| nx_http_metrics_test.nx | smoke for Prometheus /metrics emitter. | 180 | 3 |
| nx_http_post.nx | sovereign HTTP POST probe (retires Invoke-WebRequest -Method POST for login/api flow tests). | 48 | 5 |
| nx_http_post_gate.nx | proves the sovereign HTTP POST path against the LIVE server (no args, no shell-quoting | 37 | 4 |
| nx_http_probe.nx | sovereign HTTP GET probe; retires Invoke-WebRequest for checking localhost endpoints. Composes | 45 | 4 |
| nx_http_proxy.nx | HTTP upstream forwarding (replaces nginx proxy_pass). | 291 | 13 |
| nx_http_proxy_probe.nx | LIVE end-to-end proof of the reverse-proxy: simulate | 23 | 2 |
| nx_http_proxy_test.nx | gate the wired reverse-proxy: GET request-line | 53 | 3 |
| nx_http_range_req.nx | ADDITIVE HTTP/1.1 Range request builder (RFC 9110 Section 14.2) -- the first piece of | 72 | 8 |
| nx_http_redirect.nx | HTTP 3xx redirect emitter. | 290 | 14 |
| nx_http_redirect_daemon.nx | sovereign plain-HTTP listener that | 148 | 2 |
| nx_http_redirect_test.nx | smoke for 3xx redirect emitter. | 140 | 3 |
| nx_http_request_adversarial_test.nx | Phase A3 of S-class hardening. | 129 | 2 |
| nx_http_resolve_redirect.nx | client-side 3xx redirect Location | 132 | 5 |
| nx_http_resp.nx | HTTP/1.1 response generator. | 204 | 9 |
| nx_http_response_parse.nx | client-side HTTP/1.1 response parser. | 469 | 18 |
| nx_http_response_parse_test.nx | KATs for HTTP/1.1 client-side | 270 | 14 |
| nx_http_router.nx | method+path route dispatch table. | 187 | 6 |
| nx_http_router_test.nx | route dispatch shape verification. | 118 | 1 |
| nx_http_security_headers.nx | Enforces secure HTTP headers for XSS, clickjacking, MIME-sniffing, and privacy by default. | 289 | 14 |
| nx_http_security_headers_test.nx | smoke for production header set. | 167 | 3 |
| nx_http_server.nx | bind/listen/accept-loop HTTP/1.1 server. | 393 | 11 |
| nx_http_server_test.nx | structural smoke (no actual sockets). | 114 | 2 |
| nx_http_session.nx | session-token format + Set-Cookie/Cookie I/O. | 335 | 12 |
| nx_http_session_test.nx | smoke for session token + cookie I/O. | 166 | 3 |
| nx_http_template.nx | sealed-enum context-typed HTML templates. | 292 | 11 |
| nx_http_template_test.nx | smoke for typed-context templates. | 169 | 4 |
| nx_http_tracker.nx | SOVEREIGN HTTP/TCP BitTorrent tracker announce (X-TORRENT-LIVE-002 R1). | 141 | 12 |