title: Capturing Entire response including headers with HttpServletResponseWrapper
body: <p>Thanks to everyone in advance -</p>
  
  <p>So I went ahead and implemented this code:
  <a href="https://stackoverflow.com/questions/701681/how-can-i-read-an-httpservletreponses-output-stream">How can I read an HttpServletReponses output stream?</a></p>
  
  <p>Which gives me the body of the response (html etc), but I am not getting any headers at all - is this possible to do with HttpServletResponseWrapper? I need to capture the entire request to all for header modification etc.</p>
  
  <p>Thanks,</p>
  
  <p>Sam</p>