Bug 54778 - HTTP Sampler should not return 204 when resource is found in Cache
Factor out common code 
Bugzilla Id: 54778

git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1621461 13f79535-47bb-0310-9956-ffa450edef68