Giter VIP home page Giter VIP logo

Comments (11)

mshafqatprofico avatar mshafqatprofico commented on July 3, 2024 1

yes, i have checked these example in go and swift and since our backend stack is written in js, i wondered if same could be achieved using node.

from tus-node-server.

Murderlon avatar Murderlon commented on July 3, 2024

I think I'd like to add support for it as it hits working group final call. Supporting draft versions is a bit tricky, as you either make breaking changes for each new draft, or add more complexity to handle multiple versions.

From a developer and user perspective it doesn't really add much, it's just internals that change.

from tus-node-server.

mshafqatprofico avatar mshafqatprofico commented on July 3, 2024

will it be possible without the support of 104 status code as an intermediary response in node and then 201 created.

from tus-node-server.

Murderlon avatar Murderlon commented on July 3, 2024

You're still going to need a client-side library I think. fetch in the browser for instance doesn't expose informational responses. Other than that, from my understanding, at least the major proxies support it as it moves through the network.

So unless you were hoping to use it directly in the browser, I think you'll be fine with the 104 status code.

from tus-node-server.

Acconut avatar Acconut commented on July 3, 2024

The informational response is not necessary. A client can send an empty upload creation request and then resume the upload using the returned upload URL, just like how tus uploads are done today.

from tus-node-server.

mshafqatprofico avatar mshafqatprofico commented on July 3, 2024

I want to support ios client which will be using NSURLSession with resumable background upload as introduced in ios17.below is the video related to resumable upload implemented in ios which expects 104 response. its discussed from 10th minute onward.
https://developer.apple.com/videos/play/wwdc2023/10006/

from tus-node-server.

Murderlon avatar Murderlon commented on July 3, 2024

You can try tusd which supports the latest draft: https://tus.io/blog/2023/09/20/tusd-200#support-for-the-new-ietf-protocol

from tus-node-server.

thedentist8 avatar thedentist8 commented on July 3, 2024

@mshafqatprofico wondering if you found a solution for this? We also want to integrate the native iOS implementation which currently only supports the 104 status code approach.

from tus-node-server.

mshafqatprofico avatar mshafqatprofico commented on July 3, 2024

unfortunately not with node. this could help but this will require different backend stack to handle resumable background upload. so i put this on hold. https://tus.io/blog/2023/09/20/tusd-200#support-for-the-new-ietf-protocol

from tus-node-server.

Murderlon avatar Murderlon commented on July 3, 2024

As I mentioned before:

I think I'd like to add support for it as it hits working group final call

From the feedback from the latest sessions I think we're close to reaching that, probably this year. But if you need something right now I wouldn't wait for tus Node.js.

from tus-node-server.

mshafqatprofico avatar mshafqatprofico commented on July 3, 2024

@Murderlon yes, it will be a great feature to add.

from tus-node-server.

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.