Hi,

In my ServerResource subclasses I need set some custom response headers. 
I use code like the following:

Form f = (Form)getResponse().getAttributes().get("org.restlet.http.headers") ;

f.add( new Parameter( "x-app-header", "value")) ;

Which works fine in the 2.0M6 release but in the snapshot all the headers 
are duplicated.  If I set 3 headers then the response that is sent has 
them in order twice.

Is the mechanism to set custom headers different in the snapshot or is 
this a known issue?

Regards,
Garry

-- 
Garry Turkington
garry.turking...@gmail.com

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2442295

Reply via email to