This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bbum
Recipients
Date 2001-03-20.00:37:17
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=103811

OK-- I can understand that logic (close to beta, etc).

Given the prominence of Python in the WebDav 
community combined with the increasing use of 2xx 
(and 1xx) codes, it would be extremely useful to 
include-- at the least-- examples of handling such via 
the urllib2 modules.   

Beyond that, it would be quite helpful to the developers 
to expend some amount of engineering effort such that 
handling 2xx response codes doesn't require 
__getattr__ trickery! 

Similarly, breaking out the HTTP raw connection setup 
from the method that actually composes and sends the 
HTTP request would be helpful in that it would greatly 
reduce the amount of code that has to be duplicated 
when subclassing the handler to customize handling of 
2xx or when specifying methods other than GET/POST.

I.e. most developers will be confused to the point of 
being overwhelmed if "how do I customize responses 
such that they don't raise" or "how do I send an 
OPTIONS or HEAD request" requires figuring out how 
to deal with setting up and sending a request via the 
much-lower-level-than-urllib2 HTTP API.
History
Date User Action Args
2007-08-23 13:53:31adminlinkissue407783 messages
2007-08-23 13:53:31admincreate