RE: Controlling Server Header?

2011-10-28 Thread Jerome Louvel
Hi Alex,

The Response.serverInfo.agent property is mapped to this HTTP Server header,
so any place where you can update your response object should do.

Best regards,
Jerome
--
http://www.restlet.org
http://twitter.com/#!/jlouvel




-Message d'origine-
De : ale...@milowski.com [mailto:ale...@milowski.com] De la part de Alex
Milowski
Envoyé : jeudi 27 octobre 2011 22:21
À : discuss@restlet.tigris.org
Objet : Controlling Server Header?

Is there any easy way to control the Server header in the response other
than using a Filter?

--Alex Milowski

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

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


Re: Controlling Server Header?

2011-10-28 Thread Alex Milowski
On Fri, Oct 28, 2011 at 5:18 AM, Jerome Louvel
jerome.lou...@noelios.com wrote:
 Hi Alex,

 The Response.serverInfo.agent property is mapped to this HTTP Server header,
 so any place where you can update your response object should do.

OK.  That's what I thought.

As an enhancement, it would certainly be nice to be able to set this
either on the org.restlet.Server or org.restlet.routing.VirtualHost
instance without having to add another filter.

--Alex Milowski

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


Controlling Server Header?

2011-10-27 Thread Alex Milowski
Is there any easy way to control the Server header in the response
other than using a Filter?

--Alex Milowski

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