On 29/05/2006 10:47 PM, Serge Orlov wrote:
> Rocco wrote:
>> Also with ascii the function does not work.
> 
> Well, at least you fixed misconfiguration ;)
> 
> Googling for 1F8B (that's two first bytes from your strange python 2.4
> result) gives a hint: it's a beginning of gzip stream.

Well done!

> Maybe urllib2 in
> python 2.4 reports to the server that it supports compressed data but
> doesn't decompress it when receives the reply?
> 

Something funny is happening here. Others reported it working with 2.4.3 
and Rocco's original code as posted in this thread -- which works for me 
on 2.4.2, Windows XP.

There was one suss thing about Rocco's problem description:
First message ended with  d=takefeed(url)
But next message said print rss
Is rss == d?

Cheers,
John
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to