Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch #915

Closed
16 of 39 tasks
ronag opened this issue Aug 2, 2021 · 7 comments
Closed
16 of 39 tasks

Fetch #915

ronag opened this issue Aug 2, 2021 · 7 comments
Labels
enhancement New feature or request fetch good first issue Good for newcomers Status: help-wanted This issue/pr is open for contributions
Milestone

Comments

@ronag
Copy link
Member

ronag commented Aug 2, 2021

Things to help out with to bring fetch out of experimental status.

Tests

Response

https://github.com/nodejs/undici/blob/main/lib/api/api-fetch/index.js#L158
https://github.com/nodejs/undici#parameter-response
https://fetch.spec.whatwg.org/#response-class

Request

Headers

Spec

#958

  • httpRedirectFetch
  • setRequestReferrerPolicyOnRedirect
  • httpFetch
  • httpNetworkOrCacheFetch
  • httpNetworkFetch
  • fetchFinale
  • finalizeResponse
  • mainFetch
  • fetching
  • finalizeAndReportTiming
  • fetch
  • markResourceTiming
@ronag ronag added enhancement New feature or request Status: help-wanted This issue/pr is open for contributions good first issue Good for newcomers labels Aug 2, 2021
@Ethan-Arrowood
Copy link
Collaborator

Looks great! I'll take a deeper look at this when I can and try to pick something up

@ronag ronag added the fetch label Aug 4, 2021
@ronag
Copy link
Member Author

ronag commented Aug 5, 2021

In regards to documentation should we document it or just refer to the spec/MDN ofc with differences/limitations mentioned? @mcollina @szmarczak @Ethan-Arrowood

@mcollina
Copy link
Member

mcollina commented Aug 5, 2021

I think we should be ok in referring to MDN and documenting the difference/limitations... at least for now.

@ronag ronag added this to the stable fetch milestone Aug 12, 2021
@ronag ronag closed this as completed Nov 11, 2021
@trivikr
Copy link
Member

trivikr commented Jan 31, 2022

I landed on this issue after reading about questions on undici fetch web compliance in nodejs/node#41749 (review)

I think it would be helpful if a link to web compliance summary is provided in README at https://github.com/nodejs/undici#undicifetchinput-init-promise

It would be up to undici team on how they would like to track the web compliance. I would recommend creating a milestone similar to https://github.com/nodejs/undici/milestone/5 where all compliance related issues can be added to. WDYT?

cc @ronag @mcollina

@trivikr
Copy link
Member

trivikr commented Jan 31, 2022

I landed on this issue after reading about questions on undici fetch web compliance in nodejs/node#41749 (review)

As part of naming and compliance related questions, @targos @benjamingr asked Deno team summarized in nodejs/node#41749 (comment)

They have documented deviations in Deno fetch implementation from web spec in their docs at https://deno.land/manual@v1.18.1/runtime/web_platform_apis#spec-deviations

@targos
Copy link
Member

targos commented Jan 31, 2022

I did not ask Deno team.

@trivikr
Copy link
Member

trivikr commented Jan 31, 2022

I did not ask Deno team.

My bad, it was @benjamingr who created an issue with Deno team. I've edited my comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fetch good first issue Good for newcomers Status: help-wanted This issue/pr is open for contributions
Projects
None yet
Development

No branches or pull requests

5 participants