Comments (8)
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.
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.
You can submit a patch, thank you as well.
from tus-node-server.
@feluna if you update to [email protected] you should be good to go
from tus-node-server.
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.
@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.
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.
@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)
- Last part of multi-upload is ignored HOT 20
- Making server.options.namingFunction async HOT 2
- Sending extra data with the response HOT 9
- Issue with content-length calculation for non ascii body string HOT 1
- Stateless behavior in a replicated tus cluster (k8s) HOT 3
- GCS tests are failing HOT 1
- DOMException Error When Attempting to Upload Files HOT 2
- Running Nest 9 vs 7 with Tus. HOT 5
- Reconsider `configstore` package with our own implementation HOT 2
- [URGENT] Mixed Content, HTTPS & HTTP! HOT 2
- [S3] Potential Race Condition - Corrupt files HOT 2
- onError hook HOT 1
- POST request missing `Content-Type` header for empty files HOT 1
- @tus/s3-store: add object prefixing HOT 18
- @tus/s3-store: fix invalid character errors for "x-amz-meta-fileβ header HOT 3
- Add `isCompleted` to `Upload` info class HOT 5
- @tus/server: introduce middleware for access control HOT 6
- @tus/server: split server into runtimes so tus can run on the edge HOT 5
- Upload not finalized on S3 HOT 1
- Why there is no PRE-FINISH in EVENTS HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tus-node-server.