Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21130 Wrap-up the REST / Symfony 2 refactoring
  3. EZP-21122

Change the REST Request to use the Symfony request object

    XMLWordPrintable

Details

    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

        Activity

          People

            bertrand.dunogier@ibexa.co Bertrand Dunogier
            bertrand.dunogier@ibexa.co Bertrand Dunogier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: