> The
> httplib.HTTP class that you were using is very old and deprecated for
> several years now.
>
> --
> Gabriel Genellina
:-( oh , tks!
i took it from
www.ug.it.usyd.edu.au/~comp5315/lec-09.html
which class must i use?
tks in advance
--
http://mail.python.org/mailman/listinfo/python
En Tue, 12 Jun 2007 09:09:12 -0300, rhXX <[EMAIL PROTECTED]> escribió:
> i'm using this tutorial example
Glad to see you could make it work finally. Which tutorial was that? The
httplib.HTTP class that you were using is very old and deprecated for
several years now.
--
Gabriel Genellina
--
On Jun 12, 2:09 pm, rhXX <[EMAIL PROTECTED]> wrote:
> hi all,
>
> i'm using this tutorial example
>
> import httplib
>
> h = httplib.HTTP("www.python.org")
> h.putrequest('GET','/index.html')
> h.putheader('User-Agent','Lame Tutorial Code')
> h.putheader('Accept','text/html')
> h.endheaders()
>
> e