Avoid one unnecessary test when checking 304 contradictions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1591390 13f79535-47bb-0310-9956-
ffa450edef68
* as per RFC2616 Section 10.3.5
*/
if (cache_header_cmp(r->pool, left, right, "ETag")) {
- ehs = (ehs) ? apr_pstrcat(r->pool, ehs, ", ETag", NULL) : "ETag";
+ ehs = "ETag";
}
for (eh = MOD_CACHE_ENTITY_HEADERS; *eh && !reason; ++eh) {
if (cache_header_cmp(r->pool, left, right, *eh)) {