Message3831
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.
|
|
Date |
User |
Action |
Args |
2007-08-23 13:53:31 | admin | link | issue407783 messages |
2007-08-23 13:53:31 | admin | create | |
|