Hi again,

No need to post twice the same question... See my reply in the previous
thread:
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=24332
93

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com




-----Message d'origine-----
De : [email protected] [mailto:[email protected]] 
Envoyé : mercredi 25 novembre 2009 21:18
À : [email protected]
Objet : Setting HTTP Headers without using a Representation

I want to set the "Expires" Header in a Response WITHOUT a
representation.(because after conditional GET with
Status.REDIRECTION_NOT_MODIFIED (304) there is no Representation. Setting
the header with getResponseAttributes.put(...) gives me a WARNING, that
Expires Header must be set with Restlet Function, but this is only possible
with a representation, but i don't have one!)

how can i set the expires header???

Thank you.

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

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

Reply via email to