| 128 | return 1; |
| 129 | } |
| 130 | static int remove_header_do(void *v, const char *key, const char *val) |
| 131 | { |
| 132 | if ((*key == 'W' || *key == 'w') && !ap_cstr_casecmp(key, "Warning")) { |
| 133 | /* any stored Warning headers with warn-code 2xx MUST be retained |
| 134 | * in the cache entry and the forwarded response. |
| 135 | */ |
| 136 | } |
| 137 | else { |
| 138 | apr_table_unset(v, key); |
| 139 | } |
| 140 | return 1; |
| 141 | } |
| 142 | static int add_header_do(void *v, const char *key, const char *val) |
| 143 | { |
| 144 | apr_table_addn(v, key, val); |
nothing calls this directly
no test coverage detected