Re: Date header

  • From: Paul Sandoz <Paul.Sandoz@...>
  • To: users@...
  • Subject: Re: Date header
  • Date: Wed, 23 Jul 2008 12:18:53 +0200
  • Mailing-list: contact users-help@...; run by ezmlm



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@...
For additional commands, e-mail: users-help@...


--
| ? + ? = To question
----------------\
   Paul Sandoz
        x38109
+33-4-76188109




Date header

Markus KARG 07/22/2008

Re: Date header

Stephan Koops 07/22/2008

Re: Date header

Paul Sandoz 07/23/2008
Terms of Use; Privacy Policy; Copyright ©2013-2016 (revision 20160708.bf2ac18)
 
 
Close
loading
Please Confirm
Close