tus / tus-resumable-upload-protocol

Open Protocol for Resumable File Uploads
https://tus.io
MIT License
1.48k stars 103 forks source link

PATCH can be replaced by POST with X-HTTP-Method-Override PATCH #188

Open YassinHajaj opened 1 year ago

YassinHajaj commented 1 year ago

PATCH can be replaced by POST with X-HTTP-Method-Override PATCH

YassinHajaj commented 1 year ago

I'll fix the failing linter problem

YassinHajaj commented 1 year ago

Ok, it seems the linter is failing for months now.

Acconut commented 1 year ago

Thank you, but I am wondering if this could also be achieved without copying the definition of the PATCH method? This duplicates a lot of code, which I would like to avoid.

YassinHajaj commented 1 year ago

Sure, I'll look into it. Have to read what's possible from the OpenAPI spec

Acconut commented 1 year ago

Great, let me know if you find something suitable!

Acconut commented 1 year ago

@YassinHajaj Did you have any success with this so far?

YassinHajaj commented 1 year ago

Hey @Acconut ,

No, I'm sorry. And I'm afraid I'll not have time in the coming months, I've been pulled by other things. Hope it's ok.

Acconut commented 1 year ago

That you for the headsup!