Thanks for the quick answer. That gave me what I needed. -Robin
> Hi Robin, > > take a look at > http://wiki.restlet.org/docs_1.1/13-restlet/27-restlet/130-restlet.html . > > @Jerome, Thierry: What about logging also the api call to use for set > the value? > > best regards > Stephan > > Robin schrieb: > > Hi, > > > > I'm trying to set an Expires: header on a redirectTemporary (307), but > > I can't find a way to do it using the Restlet API. If I try to use a > > Form to set a custom header, I get the warning: > > > > WARNING: Addition of the standard header "Expires" is not allowed. > > Please use the Restlet API instead > > > > However as far as I can see, the API only allows setting the > > expiryDate on representations. > > > > Is there a way to work around this? > > > > Thanks ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1501924