Details
-
Sub-task
-
Resolution: Won't Fix
-
High
-
5.0, 5.1
-
None
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.
Attachments
Issue Links
- is cloned by
-
EZP-21129 Change the REST Request to use the Symfony request object
- Closed