Hi all, While developing an application using the Resource class, it became obvious to me that some properties from the Response class where missing from Result, like the cookie settings or the challenge request.
I've started adding those properties to Result up to the point where I realized that I was creating a clone of Response. So I've deprecated Result and replaced it by Response in Resource. To smoothen the transition in RC3, I've made Result derive from Response so existing code won't break, you'll just see the deprecation warning. All Result constructors where ported to Response so upgrading is really just a matter of changing usage of Result to Response. Finally, when your Resource instance returns, the Handler will copy all properties back to the initial Response instance. If you decide to pass the original Response instance from your Handler to your target Resource at construction time and to return it in the 'post', 'put', 'delete' methods, then no copy will happen of course. I hope this makes sense... Comments are welcome. Best regards, Jerome Louvel -- http://www.restlet.org