Hi Vincent,

Good point. I have reworked the related FAQ entry:
http://www.restlet.org/faq#05

Best regards,
Jerome  

> -----Message d'origine-----
> De : news [mailto:[EMAIL PROTECTED] De la part de Vincent
> Envoyé : mardi 13 février 2007 22:02
> À : discuss@restlet.tigris.org
> Objet : Re: Response Headers
> 
> >
> Jerome,
> 
> > All standard HTTP headers have an equivalent class/property 
> in the Restlet
> > API. It was a deliberate choice to not expose those headers 
> as first-class
> > citizens, because we consider them as lower-level artifacts 
> and because we
> > want to support multiple protocols via the same API. 
> > 
> 
> I think this is a good candidate for a FAQ entry, as most people will 
> instinctively look for a Response.setHeader(String name, 
> String value) method.
> I struggle with this too when I first started with Restlet.
> 
> -vincent.

Reply via email to