(String name, String value)
| 1285 | |
| 1286 | |
| 1287 | @Override |
| 1288 | public void setHeader(String name, String value) { |
| 1289 | |
| 1290 | if (name == null || name.isEmpty()) { |
| 1291 | return; |
| 1292 | } |
| 1293 | |
| 1294 | if (isCommitted()) { |
| 1295 | return; |
| 1296 | } |
| 1297 | |
| 1298 | // Ignore any call from an included servlet |
| 1299 | if (included) { |
| 1300 | return; |
| 1301 | } |
| 1302 | |
| 1303 | char cc = name.charAt(0); |
| 1304 | if (cc == 'C' || cc == 'c') { |
| 1305 | if (checkSpecialHeader(name, value)) { |
| 1306 | return; |
| 1307 | } |
| 1308 | } |
| 1309 | |
| 1310 | getCoyoteResponse().setHeader(name, value); |
| 1311 | } |
| 1312 | |
| 1313 | |
| 1314 | @Override |
no test coverage detected