Re: HTTP Version

I needed to get that information too, and i think you can't get it from the 
library as is. 

To the creators of the library: would modification of function 
stream_pipe (HTStream * me, int length) in HTTP.c to have it to shove the 
version string into the anchor be a correct fix from the library design point of 
view ?

Thanks !
Anton


>Resent-Date: Thu, 8 Mar 2001 15:24:01 -0500 (EST)
>Resent-Message-Id: <200103082024.PAA07346@www19.w3.org>
>Date: Thu, 08 Mar 2001 14:21:54 -0600
>From: "Attila Uhljar" <attila.uhljar@intervoice-brite.com>
>To: <www-lib@w3.org>
>Subject: HTTP Version
>Resent-From: www-lib@w3.org
>X-Mailing-List: <www-lib@w3.org> archive/latest/4752
>X-Loop: www-lib@w3.org
>Resent-Sender: www-lib-request@w3.org
>List-Id: <www-lib.w3.org>
>List-Help: <http://www.w3.org/Mail/>
>List-Unsubscribe: <mailto:www-lib-request@w3.org?subject=unsubscribe>
>
>Hi,
>
>Does anyone know how to extract the HTTP version (from the first line of
>the response, e.g. 'HTTP/1.1') from the response? I tried to access the
>Net object, but it is already gone when the terminate handler gets
>called.
>Thanks,
>Attila
>
>begin 644 TEXT.htm
>M/"%$3T-465!%($A434P@4%5"3$E#("(M+R]7,T,O+T141"!(5$U,(#0N,"!4
>M<F%N<VET:6]N86PO+T5.(CX-"CQ(5$U,/CQ(14%$/@T*/$U%5$$@:'1T<"UE
>M<75I=CU#;VYT96YT+51Y<&4@8V]N=&5N=#TB=&5X="]H=&UL.R!C:&%R<V5T
>M/6ES;RTX.#4Y+3$B/@T*/$U%5$$@8V]N=&5N=#TB35-(5$U,(#4N-3`N-#$S
>M-"XV,#`B(&YA;64]1T5.15)!5$]2/CPO2$5!1#X-"CQ"3T19('-T>6QE/2)-
>M05)'24XM5$]0.B`R<'@[($9/3E0Z(#AP="!-4R!386YS(%-E<FEF.R!-05)'
>M24XM3$5&5#H@,G!X(CX-"CQ$258^/$9/3E0@<VEZ93TQ/DAI+#PO1D].5#X\
>M+T1)5CX-"CQ$258^/$9/3E0@<VEZ93TQ/CPO1D].5#XF;F)S<#L\+T1)5CX-
>M"CQ$258^/$9/3E0@<VEZ93TQ/D1O97,@86YY;VYE(&MN;W<@:&]W('1O(&5X
>M=')A8W0@=&AE($A45%`@=F5R<VEO;B`H9G)O;2!T:&4@#0IF:7)S="!L:6YE
>M(&]F('1H92!R97-P;VYS92P@92YG+B`G2%144"\Q+C$G*2!F<F]M('1H92!R
>M97-P;VYS93\@22!T<FEE9"!T;R`-"F%C8V5S<R!T:&4@3F5T(&]B:F5C="P@
>M8G5T(&ET(&ES(&%L<F5A9'D@9V]N92!W:&5N('1H92!T97)M:6YA=&4@:&%N
>M9&QE<B!G971S(`T*8V%L;&5D+CQ"4CY4:&%N:W,L/$)2/D%T=&EL83PO1D].
>85#X\+T1)5CX\+T)/1%D^/"](5$U,/@T*
>`
>end
>

~v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^vv^v^v^v^v^v^v^v^v^v^v^~

Anton Belov
Sun Microsystems Americas Customer Engineering
anton.belov@canada.sun.com
Ph. (905)415-2841  Fax. (905)477-0217

Received on Thursday, 8 March 2001 15:44:05 UTC