Restful
Restful copied to clipboard
Be able to disable the RequestFilter
I'd appreciate to be able to disable RequestFilter
and thus avoid setting headers right after creating the Response
object in createHttpResponse()
. https://github.com/drahak/Restful/blob/master/src/Drahak/Restful/Http/ResponseFactory.php#L73
The problem with this is that it dumps the header right away in Response::setHeader
https://github.com/nette/http/blob/master/src/Http/Response.php#L100 and doesn't work well with PHPUnit for example.
The current behavior prevents me from using offset
and limit
query parameters because these trigger the paginator that I don't want to be using anyway.