code wiki / (root) / nx_https_redirect.nx

nx_https_redirect.nx

buildroot/runtime/nx_https_redirect.nx

2011 B45 linesdepth 2pulls 3 transitivereach 327 importersview sourcekind librarytopic https
docsdependenciesstructsconstsfunctions

about

nx_https_redirect.nx -- Fetcher upgrade F-1: SOVEREIGN redirect handling. The live HTTPS fetcher (nx_https_get/_complete) returns a parsed response but does NOT follow 3xx redirects -- a verified gap that blocks most modern docs (http->https, trailing-slash, www, CDN hops). This organ adds the decision + Location extraction; nx_https_fetch_follow (F-2) loops it over the live fetch. 100% sovereign: composes nx_http_header_find (no 3rd-party). The only non-Nishi inputs anywhere are unavoidable DATA (CA roots, fetched pages), never code. nx_safety_envelope: intended_use: sovereign web fetcher (pure: status + header bytes -> decision) sil_target: SIL1 verdict: NOT_YET_EVALUATED genealogy_id: ietf/rfc_9110_redirects lineage_id: nx_https_redirect_v1

dependencies 2 imports · 3 importers

nx_syscalls.nx nx_http_header_find.nx nx_https_redirect.nx nx_hifigan_stream_fetch.nx nx_https_fetch_follow.nx nx_https_redirect_test.nx

imports: nx_syscalls.nxnx_http_header_find.nx

imported by: nx_hifigan_stream_fetch.nxnx_https_fetch_follow.nxnx_https_redirect_test.nx

structs

none

consts

none

functions

20func nx_redir_is_redirect(status: i64) -> i64
called by 1: main
32func nx_redir_location(resp: *u8, resp_n: i64, out: *u8, out_cap: i64) -> i64
called by 1: main calls 2: sys_mmapnx_http_header_find