[Patches] [ python-Patches-798244 ] More urllib2 examples

SourceForge.net noreply at sourceforge.net
Wed Aug 25 13:25:02 CEST 2004


Patches item #798244, was opened at 2003-08-31 21:47
Message generated for change (Settings changed) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=798244&group_id=5470

Category: Documentation
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: John J Lee (jjlee)
Assigned to: Nobody/Anonymous (nobody)
Summary: More urllib2 examples

Initial Comment:
I'm posting this here because I couldn't see how to 
upload a file to bug 545480. 
 
Here are some more examples. 
 
I don't use a proxy, so I haven't tested them.  They're 
very simple though (famous last words...). 
 
I include examples about adding headers, since I get the 
impression people assume it's awkward to do this with 
urllib2.  Also, User-Agent is a special case that often 
comes up. 
 
The patch also fixes a couple of markup nits. 

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2004-08-25 13:25

Message:
Logged In: YES 
user_id=21627

The examples look fine to me. Applied as urllib2.tex 1.21

----------------------------------------------------------------------

Comment By: Raymond Hettinger (rhettinger)
Date: 2003-09-01 01:56

Message:
Logged In: YES 
user_id=80475

Would you solicit someone to test these for you and report 
back when you're confident (based on running code) that 
they are right.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=798244&group_id=5470


More information about the Patches mailing list