Feature #56916

Support PATCH request method as of RFC5789

Added by Alexander Berl over 1 year ago.

Status:New Start date:2014-03-14
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:Http
Target version:-
PHP Version: Complexity:
Has patch:No

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 methods Resolved 2013-12-26

Also available in: Atom PDF