added cookie response support to the resource result object