[REBOL] Re: read/custom and HTTP HEAD behaviour
From: jmalv:hotma:il at: 15-Feb-2002 16:37
Thanks Hallvard & Carl.
{ I missed the thread in January }
>From: Hallvard Ystad <[hallvard--ystad--helpinhand--com]>
>Reply-To: [rebol-list--rebol--com]
>To: [rebol-list--rebol--com]
>Subject: [REBOL] Re: read/custom and HTTP HEAD behaviour
>Date: Fri, 15 Feb 2002 12:03:04 +0100
>
>Here's the solution:
>http://www.escribe.com/internet/rebol/index.html?by=OneThread&t=%5BREBOL%5D Reading HTTP headers
>
>~H
>
>Dixit j m (09.42 15.02.2002):
> >I am trying to query a URL with HTTP HEAD but I get the full HTTP GET
>instead
> >
> >print read/custom http://www.yahoo.com reduce ['HEAD ]
> >
> >or
> >
> >response: copy ""
> >port: open tcp://www.yahoo.com:80
> >insert port rejoin [ "GET" newline "host:www.yahoo.com" newline
>"connection: close" newline newline ]
> >while [ res: copy port ] [][ append response res ]
> >close port
> >
> >
> >How can I just get the HTTP HEAD without the full page ?
> >
> >Thanks
> >
> >_________________________________________________________________
> >MSN Photos is the easiest way to share and print your photos:
>http://photos.msn.com/support/worldwide.aspx
> >
> >--
> >To unsubscribe from this list, please send an email to
> >[rebol-request--rebol--com] with "unsubscribe" in the subject, without the
>quotes.
>
>Prætera censeo Carthaginem esse delendam
>
>--
>To unsubscribe from this list, please send an email to
>[rebol-request--rebol--com] with "unsubscribe" in the
>subject, without the quotes.
>
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.