urllib: an alternative URLOpener
Markus Fleck
fleck at informatik.uni-bonn.de
Sat Jun 12 05:06:20 EDT 1999
Moshe Zadka <moshez at math.huji.ac.il> wrote:
> Whom do I contact about adding the following code to urllib:
> -------------->8-------------->8-------------------------
> class QuietFancyURLOpener(FancyURLOpener):
> def prompt_user_password(self, host, realm):
> return None, None
> -------------->8-------------->8-------------------------
> (Yes, I realize I can put it in my own program. But it seems a generally
> useful thing for non-interactive downloaders)
While we're at it... :-) - It might also be nice to have a FancyURLOpener
that raises an exception on an authentication mismatch. And one that takes
a user-defined user/password table dictionary or a callback function.
Yours,
Markus.
--
"That isn't the future I have in mind for the information highway: I want to
access more diverse connections and deeper thoughts, not cooler commercials
and new tolls." -- Geoff Dutton, http://photo.net/philg/humor/media-lab.html
More information about the Python-list
mailing list