Stephan Koops wrote:
> Hi Markus,
>
> because the server should do it every time, I think the runtime
> environment should do it.
Yes. Either the container (like Servlet) or the JAX-RS runtime if the
container does not do it.
Paul.
> If not, it generates boilerplate code and will
> often not be done by developers, I think.
> I think that a little note, that it should be done automaticly, is useful.
>
> Marc meant, that he don't want to repeat the RFC 2616.
>
> best regards
> Stephan
>
> Markus KARG schrieb:
>> HTTP/1.1 chapter 13 ("Caching") says that a compliant server should
>> send a Date header always to indicate the time of response. This
>> allows calculation of the age of a cached entity.
>>
>> Will that Date header be created automatically or why is there no
>> .date(Date) method in ResponseBuilder?
>>
>> Thanks
>> Markus
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: users-help_at_jsr311.dev.java.net
>
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109