Giter VIP home page Giter VIP logo

Comments (8)

krampampuli avatar krampampuli commented on May 27, 2024 1

Since there was no Location info, the URL for PATCH was null. That was the actual error.
Now everything seems to be OK, thank you!

from tus-node-server.

bhstahl avatar bhstahl commented on May 27, 2024

Ah yes. A fix could be similar to 'Access-Control-Allow-Headers' in the OptionsHandler.js.

I can submit a patch, unless you have a pull request ready to go?

Thanks @feluna !

from tus-node-server.

feluna avatar feluna commented on May 27, 2024

You can submit a patch, thank you as well.

from tus-node-server.

bhstahl avatar bhstahl commented on May 27, 2024

@feluna if you update to [email protected] you should be good to go πŸ‘

from tus-node-server.

krampampuli avatar krampampuli commented on May 27, 2024

Hi, I'm using 0.1.1, but still had to include the extra line from the original post to make the missing header part appear and the file uploads resume.

from tus-node-server.

bhstahl avatar bhstahl commented on May 27, 2024

@krampampuli I realized a case where it wouldn't be added to the HEAD request, which is fixed in [email protected]. Let me know if you have any trouble after upgrading!

from tus-node-server.

krampampuli avatar krampampuli commented on May 27, 2024

After upgrade it gives "405 Method Not Allowed: The requested method PATCH is not allowed for the URL /null."

Exposed headers seem to miss Location, i.e., it should be added to const HEADERS in constants.js

Thanks!

from tus-node-server.

bhstahl avatar bhstahl commented on May 27, 2024

@krampampuli thanks for your help. Location is added in [email protected].

Not sure I'm following how PATCH isn't allowed, since it is included in the Access-Control-Allow-Methods of OPTIONS request. Would you mind opening up a separate ticket with detailed steps to replicate?

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.