jukebox
All repositories: gitoria
1.3 KB
\* One answered request. Handed back by `fetch()` and by `PendingFetch.response()`— never `new`ed. Its shape is exactly what the native side builds(`buildResponse` in fetch.zig): status, ok, url, headers, body, tag, folded inwith `>`.RESTORED 2026-08-29 (mission 257). `pending_fetch.hl` has always ended in`r > new FetchResponse()`, but this file was not in the tree — so EVERY`fetch()` and every `.response()` died with a bare `error.UndefinedVariable`at `pending_fetch.hl:42`, which is the second half of the wall the creatorhit. It was invisible for the same reason the stale `.so` was: no gate everran a fetch against a server it started itself. *\Number status = 0 \\ the HTTP status of the final response (after redirects)Boolean ok = false \\ true for 2xxString url = '' \\ the FINAL url — the last hop of a redirect chainHybrid headers = {} \\ response headers, names LOWERCASEDString body = '' \\ the body as it arrived (empty for a streamed fetch)String tag = '' \\ whatever `tag` the request carried, echoed back// The body as a String. The bytes are already here — this is a reader, not a// second wait — so it is safe to call as often as you like.text() {return body}// The body parsed as JSON. A body that is not JSON raises, like JSON.parse// anywhere else; `on Error` catches it.json() {return JSON.parse(body)}
Branches
Latest commits
- 10f8a8c8Merge branch 'code-order' into mainJukebox
- 204fc828Merge branch 'day72' into mainJukebox
- 95f5faae|||PR jukebox#7 Drop needless let declarationsmre
- 33072bb5|||PR Record day72 gates and Chrome proofmre
- 95f2cd73|||PR Use typed parent methods for screen playback and local server facesmre
- 6422a020Sync media-player at 51c3818mre
- b582ba1cVendor complete Hybriel day72 plugin setmre
- 02dccbc9Merge branch 'records-1119' into mainJukebox
- a39e1c23|||PR Records: missions 013-015, reconnect fix livemre
- fc7db075Merge branch 'reconnect-retry' into mainJukebox
- ac6f4c6fL2: plain declaration for a in pickedNextmre
- 2f335086Review round 2: only an explicit queue pick drops pend (not the automatic advance); jb23 records every source changemre
- 3eb6695fReview fixes: action generation, queue pick clears pend, Previous/Next retry the decided request, typed handlersmre
- 7a53c0c2|||PR A tap lost to a dead socket plays after reconnect (mission 015)mre
- 1f0cd77bMerge branch 'records-day41' into mainJukebox
- 67be229f|||PR Records: day41 live (PR #4), mission 012, statusmre
- 0bb027daconductor: caramboleyo is the user, not owner/creatorApollo
- 04f5d9d5Merge branch 'day41' into mainJukebox
- 8ed6da45|||PR README: media-player pin df9e7dfmre
- d5d45fc3|||PR media-player df9e7df (repeat-one fix), sync pin and SOURCEmre