n = htx_get_blk_name(htx, blk);
v = htx_get_blk_value(htx, blk);
- if (isteqi(n, ist("Pragma"))) {
+ if (isteq(n, ist("pragma"))) {
if (v.len >= 8 && strncasecmp(v.ptr, "no-cache", 8) == 0) {
pragma_found = 1;
continue;
/* Don't use the cache and don't try to store if we found the
* Authorization header */
- if (isteqi(n, ist("Authorization"))) {
+ if (isteq(n, ist("authorization"))) {
txn->flags &= ~TX_CACHEABLE & ~TX_CACHE_COOK;
txn->flags |= TX_CACHE_IGNORE;
continue;
}
- if (!isteqi(n, ist("Cache-control")))
+ if (!isteq(n, ist("cache-control")))
continue;
/* OK, right now we know we have a cache-control header */
n = htx_get_blk_name(htx, blk);
v = htx_get_blk_value(htx, blk);
- if (isteqi(n, ist("Pragma"))) {
+ if (isteq(n, ist("pragma"))) {
if ((v.len >= 8) && strncasecmp(v.ptr, "no-cache", 8) == 0) {
txn->flags &= ~TX_CACHEABLE & ~TX_CACHE_COOK;
return;
}
}
- if (!isteqi(n, ist("Cache-control")))
+ if (!isteq(n, ist("cache-control")))
continue;
/* OK, right now we know we have a cache-control header */