Re: Replacing HTTP-header value

2005-03-25 Thread Jorg Heymans
Adam Ratcliffe wrote: Hi Jorg Setting the 'Vary' response header implicitly when the 'expires' parameter is not provided is not IMO correct behaviour. I submitted a patch for this: http://issues.apache.org/bugzilla/show_bug.cgi?id=33319 which was applied in February. Cool :) So Ilya just upgrade to

RE: Replacing HTTP-header value

2005-03-23 Thread Adam Ratcliffe
nal Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Jorg Heymans > Sent: Thursday, 24 March 2005 3:11 a.m. > To: users@cocoon.apache.org > Subject: Re: Replacing HTTP-header value > > > I found what's causing your problem. > > In resolution to bug 14048 [1],

Re: Replacing HTTP-header value

2005-03-23 Thread Jorg Heymans
I found what's causing your problem. In resolution to bug 14048 [1], the ResourceReader was changed to append a Vary=Host responseheader if the reader was configured without expiration time. So try setting an expires parameter on your resourcereader and see if it helps. As to whether cocoon's b

RE: Replacing HTTP-header value

2005-03-23 Thread Ilya Vyatkin
sorry, I was mistaken - > so if you set Vary to asd, cocoon sends Hostasd ? In this case it sends: Vary: asd,Host Ilya > What version of cocoon are you using? I can't see from the > action itself how it could be appending your header : > > for (int i = 0; i < names.length; i++) { >

Re: Replacing HTTP-header value

2005-03-23 Thread Jorg Heymans
What version of cocoon are you using? I can't see from the action itself how it could be appending your header : for (int i = 0; i < names.length; i++) { response.setHeader(names[i],parameters.getParameter(names[i])); results.put(names[i], parameters.getParameter(n

Replacing HTTP-header value

2005-03-23 Thread Ilya Vyatkin
hi! How can I remove http response header "Vary" or replace its value? Cocoon sets it as "Vary: Host" what leads to local caching problems in IE :( I've tried using org.apache.cocoon.acting.HttpHeaderAction with parameter: But it appends value instead replacing. Here is my example: