Feature #56916

Support PATCH request method as of RFC5789

Added by Alexander Berl over 7 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Http
Target version:
-
Start date:
2014-03-14
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

https://tools.ietf.org/html/rfc5789

"Several applications extending the Hypertext Transfer Protocol (HTTP)
require a feature to do partial resource modification. The existing
HTTP PUT method only allows a complete replacement of a document.
This proposal adds a new HTTP method, PATCH, to modify an existing
HTTP resource."

Currently Flow always handles POST/PUT requests as partial updates, as all action arguments are merged with the persisted entity (at least if the identifier is provided).
It should be possible to define through the request method, wheter a full replace (PUT) or a partial update (PATCH) is expected.

A first step would be to at least handle the PATCH request method in Http\Request (create/buildUnifiedArguments).


Related issues

Related to TYPO3.Flow - Feature #54600: Request arguments not available in all HTTP methodsResolvedBastian Waidelich2013-12-26

Actions

No data to display

Also available in: Atom PDF