[Zope] why is there no put in urllib ?

Alexander Staubo alex@mop.no
Fri, 9 Jul 1999 14:44:17 +0200


You can easily write an "urlput()" function wrapping around calls to
httplib, which definitely supports PUTs. (In fact, urllib's urlopen() is
itself mainly just a thin wrapper around httplib and ftplib.) See the
Python documentation for details.

--
Alexander Staubo             http://www.mop.no/~alex/
"What the hell, he thought, you're only young once, and threw
himself out of the window. That would at least keep the element of
surprise on his side."
--Douglas Adams, _The Hitchhiker's Guide to the Galaxy_

>-----Original Message-----
>From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
>Joachim Schmitz
>Sent: 9. juli 1999 14:07
>To: zope@zope.org
>Cc: python-list@cwi.nl
>Subject: [Zope] why is there no put in urllib ?
>
>
>
>hi,
>
>may be this is a total dump question. But it would allow us Zopistas to
>upload our dtml pages with a simple python script to the Zope-server.
>
>
>Gruß
>
>Joachim Schmitz
>
>WWW-Consultant
>
>email: js@ac-copy.net
>tel: +49-241-89491-0
>fax: +49-241-89491-29
>
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>
>(For developer-specific issues, use the companion list,
>zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>