Details
-
Sub-task
-
Resolution: Fixed
-
High
-
5.0, 5.1
-
None
-
Aconcagua Sprint 1, Aconcagua Sprint 2
Description
The current eZ\Publish\Core\REST\Server\Request is an override of QaFoo\RMF\Requst\HTTP that extends QaFoo\RMF\Request.
RMF\Request is a simple struct that can be attached PropertyHandler objects for all kind of request properties: Header, Server var...
The RMF\Request API is used all around, and is interesting. However, the Request\HTTP and REST\Server\Request objects are instanciated using global properties, mostly from $_SERVER. This makes functional testing very difficult.
Update REST\Server\Request so that it is initialized from a symfony Request object.