Hi TS community! I am requesting comment/suggestions related to implementation of a feature that provides custom error responses on a per-remap basis. Essentially, this is similar to the existing body factory but with support for external objects (via HTTP) AND definable on a per-remap basis.
I am thinking of moving forward in one of two directions for the implementation: 1. Create a plugin which is independent of the existing body factory that implements the requirements. 2. Extend the existing body factory to allow it to fetch external objects AND use conf_remap (or maybe extend it also) to swap out body factory configs on a per remap basis. I'm hoping to get some opinions on which direction to go with this (or other suggestions ;). Personally, #1 is much more comfortable to me because I have no idea about the existing body factory's implementation. It seems like #2 would be more 'correct' as I think many would use this feature, but there may be limitations on API usage for core functionality which I am unaware of.. Requirements: https://cwiki.apache.org/confluence/display/TS/Per+Remap+Custom+Errors I appreciate any (helpful) thoughts. -Ron Barber
