String hvalue = (String) a.get(hname);
reply.setValue(hname, hvalue);
}
}
if ((filter != null) && filter.isShared()) {
HttpCacheControl hcc = reply.getCacheControl();
if (hcc != null) {
String priv[] = hcc.getPrivate();
if (priv != null) {
for (int i=0; i<priv.length; i++) {
// remove headers that are private if we are
// a shared cache (rfc2616#14.9, rfc2616#14.9.1)
reply.setHeaderValue(priv[i], null);