Reduces the number of cache requests by combining those for body and header
Returns expected values for tests
Merge pull request #725 from nsendetzky/master

Reduces the number of cache requests by combining those for body and header