title: Grab the resource contents in CasperJS or PhantomJS
body: <p>I see that CasperJS has a "download" function and an "on resource received" callback but I do not see the contents of a resource in the callback, and I don't want to download the resource to the filesystem.</p>
  
  <p>I want to grab the contents of the resource so that I can do something with it in my script.  Is this possible with CasperJS or PhantomJS?</p>