Allow per-method OnBeforeRequest/OnAfterResponse callbacks

By Leonardo Fernandes on 9 Jun

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.

This idea has no comments yet. Be the first to comment!