Skip to content

Implement FetchHeaders UWS H3 and Pico native adapters #377

Description

@chrisbbreuer

Parent: #375

Implement the four foreign-object FetchHeaders adapters after the core boundary lands:

  • WebCore__FetchHeaders__createFromPicoHeaders_
  • WebCore__FetchHeaders__createFromUWS
  • WebCore__FetchHeaders__createFromH3
  • WebCore__FetchHeaders__toUWSResponse

Acceptance:

  • Pin and document every dereferenced request/response layout and response-kind value for the declared Home/Bun revisions.
  • Use a stable C adapter or exact versioned layout contract; never reinterpret arbitrary C++ objects from guessed Zig layouts.
  • Preserve raw header order, duplicate semantics, empty filtering, pseudo-header behavior, Set-Cookie separation, HTTP/3 restrictions, and Date/header state updates where applicable.
  • Null and unsupported adapter/version paths fail explicitly and safely.
  • Add exact-layout consumer fixtures, adapter integration tests, CI, docs, and Debug/ReleaseSafe evidence.

Children

  • 380 — exact PicoHeaders span adapter
  • 381 — versioned UWS/H3 request and response bridge

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions