Coder Social home page Coder Social logo

Comments (14)

bakkot avatar bakkot commented on September 24, 2024 3

The Blob PR is now merged.

from node.

bakkot avatar bakkot commented on September 24, 2024 2

The Request/Response one landed but Blob - this issue - is technically a different spec, and that PR is still open. (It's slightly more annoying because that spec lives in W3C, unlike fetch, and I haven't gone through the process of joining the relevant W3C working group.)

from node.

benjamingr avatar benjamingr commented on September 24, 2024 1

Node handles this for Blob and undici handles it for request/response

from node.

RedYetiDev avatar RedYetiDev commented on September 24, 2024

@nodejs/web-standards
(Summary) this appears to be a future standard, but none of the "big 3" have taken a stance on it yet, but W3C seems to be content with it.

from node.

benjamingr avatar benjamingr commented on September 24, 2024

@RedYetiDev blob is a web standard, this method is added to the spec, we should definitely implement it (as experimental and remove experimental status when it lands).

from node.

KhafraDev avatar KhafraDev commented on September 24, 2024

I won't implement it into fetch until it becomes standardized. I don't think node should land it either until then.

from node.

RedYetiDev avatar RedYetiDev commented on September 24, 2024

@RedYetiDev blob is a web standard, this method is added to the spec, we should definitely implement it (as experimental and remove experimental status when it lands).

I don't think it is standard yet (bytes() atleast), I agree with @KhafraDev's stance. (But, I am not a CODEOWNER)

from node.

benjamingr avatar benjamingr commented on September 24, 2024

Implementing before the spec lands is almost always a good idea since it's literally our last realistic chance to request changes or provide feedback when we see an API is problematic.

from node.

RedYetiDev avatar RedYetiDev commented on September 24, 2024

That's a good point, but either way, I'm not involved in that process, undici handles this, right?

from node.

RedYetiDev avatar RedYetiDev commented on September 24, 2024

Thanks for the info. I'm marking this as feature-request, as it is a feature-request.

from node.

RedYetiDev avatar RedYetiDev commented on September 24, 2024

If implemented, this would be experimental, hence the label

from node.

KhafraDev avatar KhafraDev commented on September 24, 2024

almost always a good idea

There won't be anything problematic with it 😄.

from node.

KhafraDev avatar KhafraDev commented on September 24, 2024

it did land in the spec already and I've opened a PR to add it to fetch

from node.

RedYetiDev avatar RedYetiDev commented on September 24, 2024

Just an update on the Big 3

Landed in WebKit: WebKit/WebKit#28657
No comment from Chromium (yet)
Confirmed by Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1896509

from node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.