W3C home > Mailing lists > Public > www-lib@w3.org > April to June 1999

Re: Getting headers example

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Tue, 18 May 1999 16:35:55 -0400
To: www-lib@w3.org
Message-ID: <3741CF2B.CE108A8C@w3.org>
To: Vladimir Kozlov <Vladimir.Kozlov@idm.ru>

Vladimir,

Thanks a lot - I have added this sample application, see

	http://www.w3.org/Library/Examples/#HEAD

I have also added a feature for filtering the reponse header fields you
are interested in, for example

	getheaders http://www.w3.org server

Get it from cvs at

	http://www.w3.org/Library/cvs.html#update

and compile as described in

	http://www.w3.org/Library/cvs.html#Boot

Henrik

Vladimir Kozlov wrote:
> 
> Henrik,
> 
> Herbert Krause asked me for example for getting http headers
> (Last-modified particularly)with HEAD (not GET) reguest.
> Please find attached source of such an example app. Probably this will
> be useful for somebody else as well.
> 
> Kind regards,
> 
> Vladimir.
> 
> -------------------------
> Vladimir Kozlov, IDM, Ltd.
> 
> e-mail     : mailto:Vladimir.Kozlov@idm.ru
> PGP Key ID : 0x5360FA9B
> Phone      : +7 (095) 534-4221
> Fax        : +7 (095) 530-2275
> www        : http://www.idm.ru
> 
>   ------------------------------------------------------------------------
>                    Name: getheaders.c
>    getheaders.c    Type: unspecified type (application/octet-stream)
>                Encoding: quoted-printable

-- 
Henrik Frystyk Nielsen, <frystyk@w3.org>
World Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA
Received on Tuesday, 18 May 1999 16:36:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:29 GMT