Hi Jim, You are correct, extra HTTP headers are ignored. I've entered a bug report:
"Extra HTTP headers are not sent back" http://restlet.tigris.org/issues/show_bug.cgi?id=913 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é : lundi 21 septembre 2009 23:13 À : [email protected] Objet : RE: Re: adding headers to response via jaxrs Thanks for the response. Maybe I'm reading the code wrong, but it looks like the call to org.restlet.ext.jaxrs.internal.util.copyResponeHeaders has code that does: =============== HttpClientAdapter.copyResponseTransportHeaders(headers, restletResponse); HttpClientCall.copyResponseEntityHeaders(headers, restletResponse.getEntity()); ============== >From my reading of these two methods, it does not add the CACHE_CONTROL header. In fact, it doesn't add any headers that it doesn't know about -- is that the correct behavior? Thanks, Jim ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=23975 89 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2404829

