[linux] OT: Hlavicka Expires HTTP protokolu

Ján Tomka jan.tomka na stonline.sk
Pátek Listopad 16 21:18:51 CET 2001


On Wed, Nov 14, 2001 at 10:24:02PM +0100, Ondrej Jombik wrote:
> 	Ospravedlnujem sa za OT. Ktore z nasledujucich HTTP hlaviciek
> Expires su v spravnom formate:
> 
> Expires: Mon, 01 Jun 1981 05:00:00 GMT
> Expires: Mon, 1 Jun 1981 05:00:00 GMT
> Expires: Mon, Jun 01 1981 05:00:00 GMT
> Expires: Mon, Jun 1 1981 05:00:00 GMT
> 
> 	Ano, viem ze je na to RFC. Dakujem.

RFC 2616
	HTTP applications have historically allowed three different
	formats for the representation of date/time stamps:

           Sun, 06 Nov 1994 08:49:37 GMT  ; RFC 822, updated by RFC 1123
           Sunday, 06-Nov-94 08:49:37 GMT ; RFC 850, obsoleted by RFC 1036
           Sun Nov  6 08:49:37 1994       ; ANSI C's asctime() format

	The first format is preferred as an Internet standard and
	represents a fixed-length subset of that defined by RFC 1123 [8]
	(an update to RFC 822 [9]).


HTML 4.01 Specification
	As this specification is being written, it is common practice to
	use the date formats described in [RFC2616], section 3.3. As
	these formats are relatively hard to process, we recommend that
	authors use the [ISO8601] date format.


== date(1)
RFC 2616 (--> RFC288)
        $ date -R

ISO-8601
        $ date -Iseconds

-- 
+------------------------------+------------------------------+
| Ján 'judas' Tomka            |          sponsored by        |
| url: http://judas.host.sk    |         NUP/OUP Levice       |
| email: jan.tomka na stonline.sk |              ---             |
+------------------------------+------------------------------+
+------------------------------------>  Nun has no fun!  <----+
------------- dal¹í èást ---------------
Netextová p?íloha byla odstran?na...
Jméno: [?ádný popis není k dispozici]
Typ: application/pgp-signature
Velikost: 232 bytes
Popis: [?ádný popis není k dispozici]
Url : http://lists.linux.sk/pipermail/linux/attachments/20011116/cb1fa64b/attachment.bin 


Další informace o konferenci linux