Skip to content

lib: implement fetch's Headers class

Rodrigo Muino Tomonari requested to merge github/fork/targos/fetch-headers into master

Refs: https://github.com/nodejs/node/issues/19393

This is not ready yet, but I'm already opening the PR so people know I'm working on it and hopefully to get some help. It aims to implement the Headers class, required for the fetch API, as defined in https://fetch.spec.whatwg.org/#headers-class

For those who want to help:

# build
./configure --node-builtin-modules-path $(pwd)

# run all WPT tests
./node test/wpt/test-fetch-headers.js

# run a specific test file
./node test/wpt/test-fetch-headers.js headers-record.any.js

Merge request reports

Loading