add header and body variables to Response class.