Keep original headers, so the PUT/POST operations aren't bloked#2111
Keep original headers, so the PUT/POST operations aren't bloked#2111xrogers wants to merge 3 commits intoapi-platform:4.0from
Conversation
Without this, some headers could be dropped and POST/PUT operations will not work anymore.
|
Thanks for your contribution, @xrogers! However, your code addresses a custom need and should not be included in the documentation. |
|
@vinceAmstoutz This is not correct. The provided example breaks in the current version POST actions. Try it out. It's not related to any specific use case, just basic functionality. |
|
Hello @xrogers, could you provide a reproduction, please? In its current state, I can't see how adding a default parameter can change the return value of the The As you can see, it doesn't specify any parameter, and nothing is passed to it when it is called. |
|
HI @J3m5 |
|
Also see my last commit, somehow it is not visible in this PR: xrogers@30a9782 |
Without this, some headers could be dropped and POST/PUT operations will not work anymore.