Skip to content

Implement FetchHeaders core lifecycle and buffer ABI #376

Description

@chrisbbreuer

Parent: #375

Implement the 21 FetchHeaders exports that do not dereference UWS/H3/Pico request or response objects: branding/casts, JS conversion, native lifetime, create/clone paths, StringPointer creation and copying, validated mutations and queries, counts, and fast HTTPHeaderName operations.

Acceptance:

  • One branded ordered Headers representation backs JS and native handles.
  • Standalone createEmpty/createValueNotJS handles have explicit ownership and deref behavior.
  • createFromJS, createValue, toJS, clone, and cloneThis preserve VM ownership and exact exception semantics.
  • append/set/get/has/remove and fast operations match Fetch normalization, combination, Set-Cookie, and enum mapping.
  • count/copyTo report exact iterator rows and UTF-8 buffer sizes with checked u32 bounds.
  • Add Debug and ReleaseSafe Home/Bun compile-link-runtime evidence, refresh inventories/docs/CI, and push as one focused main commit.

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