Skip to content

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

Open
YassinHajaj wants to merge 5 commits into
tus:mainfrom
YassinHajaj:main
Open

PATCH can be replaced by POST with X-HTTP-Method-Override PATCH#188
YassinHajaj wants to merge 5 commits into
tus:mainfrom
YassinHajaj:main

Conversation

@YassinHajaj

Copy link
Copy Markdown
Contributor

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

Adding the request body's content with application/offset+octet-stream
PATCH can be replaced by POST with X-HTTP-Method-Override PATCH
@YassinHajaj

Copy link
Copy Markdown
Contributor Author

I'll fix the failing linter problem

@YassinHajaj

Copy link
Copy Markdown
Contributor Author

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

@Acconut

Acconut commented Feb 14, 2023

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Contributor Author

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

@Acconut

Acconut commented Feb 15, 2023

Copy link
Copy Markdown
Member

Great, let me know if you find something suitable!

@Acconut

Acconut commented Jul 17, 2023

Copy link
Copy Markdown
Member

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

@YassinHajaj

Copy link
Copy Markdown
Contributor Author

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

Acconut commented Jul 19, 2023

Copy link
Copy Markdown
Member

That you for the headsup!

@YassinHajaj

Copy link
Copy Markdown
Contributor Author

Hi @Acconut , what's happening with this PR ? Should it be merged ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants