Open slbug opened 9 years ago
For the first one, I would suggest just raising an exception (because if something happens to stop the request, you'd need to know that happened so you could correct it in the calling code anyway).
The second one I like the idea of. I don't have time to work on it at the moment, but I'd support it in principle. I'd prefer something like force_response('...')
over set_
as I find set_ to be quite ugly.
Something like this (returning false stops request):
or call method to set request