spore icon indicating copy to clipboard operation
spore copied to clipboard

Spore\ReST\AutoRoute\Router should be more modular

Open mathielen opened this issue 11 years ago • 0 comments

I am returning status value objects within my service instances. Some simple object that has a statuscode and a statustext - as its a simple REST system. The serialization mechanism from spore generates nice xml or json from it - but sadly there is no way to automatically use the status code of the returned value object in the http-header.

Maybe you refactor the Router so there will be more possibilities to change the result-processing flow?

mathielen avatar May 30 '13 13:05 mathielen