Hi Restlet Community,
I'm working with a 3-tiered system, the bottom 2 tiers using Restlet. The
higher Riestlet tier makes multiple requests down to the lowest Restlet
tier, in order to serve a single one of its own requests. I'd like to start
compiling meaningful profiling information per request. So I'd like each
tier to pass info up to the next tier, to be collated and ultimately
reported to the end user. (Assuming the end user is an inquiring developer
who'd like to know a lot about "what just happened".)
Do any of you have experience doing this kind of thing, and if so, any
pointers for me? I've been warned to be careful about buffering of
responses, since that can prevent me from having the oppopurtinity to add
info via a custom header right at the tail end of a response. I'm not sure
about this... is this a limitation with the Restlet framework? Are there any
other limitations to be aware of as far as using custom headers for this
purpose? Or any better approaches?
Any thoughts or advice greatly appreciated...
Best wishes,
Aaron