Re: [Python-Dev] Urllib code or the docs appear wrong

2005-03-10 Thread Skip Montanaro
>> It seems to me that either urllib's docs are wrong or its code is >> wrong w.r.t. how the User-agent header is handled. Guido> I propose fixing the docs... Done (also backported to 2.4 branch). Skip ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] Urllib code or the docs appear wrong

2005-03-07 Thread Guido van Rossum
On Mon, 7 Mar 2005 14:43:01 -0600, Skip Montanaro <[EMAIL PROTECTED]> wrote: > > It seems to me that either urllib's docs are wrong or its code is wrong > w.r.t. how the User-agent header is handled. In part, the docs say: > > By default, the URLopener class sends a User-Agent: header of >

[Python-Dev] Urllib code or the docs appear wrong

2005-03-07 Thread Skip Montanaro
It seems to me that either urllib's docs are wrong or its code is wrong w.r.t. how the User-agent header is handled. In part, the docs say: By default, the URLopener class sends a User-Agent: header of "urllib/VVV", where VVV is the urllib version number. Applications can define thei