Allow per-method OnBeforeRequest/OnAfterResponse callbacks

Not right now

Often we need to treat some HTTP status code of a particular method differently. For example, it could be that one method returns a 403 as a result for a CheckPermissionsForObject, and we would want that converted to a boolean output, rather than a protocol exception.

Currently, there's no way to do that without an extension and the use of the Advanced callbacks, because we have not enough information to determine which rest method was called.

Created on 9 Jun 2017
Comments (1)
Changed the status to
Not right now

Hi Leonardo,

Sorry for the late reply, but we are not planning on delivering this in the near future.

The investment to do this properly is too big for the return and for the upcoming new features that we have in mind. Because of this, I’m marking this idea as “not right now”.

Nonetheless, thank you very much for your idea and keep it coming.

If you believe we missed some context that would change our perception about it, please give us more details about why you would need this and for what is the use case.