undici icon indicating copy to clipboard operation
undici copied to clipboard

fetch: send 'sec-purpose' header for prefetch requests

Open trivikr opened this issue 1 year ago • 2 comments

This relates to...

Step 14 in WHATWG fetch specification https://fetch.spec.whatwg.org/#http-network-or-cache-fetch, added in https://github.com/whatwg/fetch/pull/1576

Changes

Sends 'sec-purpose' header for prefetch requests as per WHATWG fetch specification

Features

N/A

Bug Fixes

N/A

Breaking Changes and Deprecations

N/A

Status

  • [x] I have read and agreed to the Developer's Certificate of Origin
  • [ ] Tested
  • [ ] Benchmarked (optional)
  • [ ] Documented
  • [ ] Review ready
  • [ ] In review
  • [ ] Merge ready

trivikr avatar Oct 07 '24 03:10 trivikr

There are no viable WPTs for server implementations

KhafraDev avatar Oct 07 '24 18:10 KhafraDev

@trivikr I pushed changes, PTAL

Uzlopak avatar Oct 07 '24 22:10 Uzlopak