Bug#142023: HTTP upload for dput

2006-12-06 Thread Ross Burton
Attaching fixed patch. I've used this in the last few days to upload ~10 packages to our WebDAV repository. Ross -- Ross Burton mail: [EMAIL PROTECTED] jabber: [EMAIL PROTECTED] www: ht

Bug#142023: HTTP upload for dput

2006-12-02 Thread Ross Burton
Fixed patch attached, that works when you invoke dput outside of the dput source directory... Ross -- Ross Burton mail: [EMAIL PROTECTED] jabber: [EMAIL PROTECTED] www: http://www.burton

Bug#142023: HTTP upload for dput

2006-12-02 Thread Ross Burton
On Sat, 2006-12-02 at 19:34 +, Ross Burton wrote: > Attached is a working patch for HTTP(S) upload, with authentication. > http.py is the main file, that contains the custom classes used with > urllib2 to handle DAV and authentication. https.py performs a nasty > hack to import http.py and def

Bug#142023: HTTP upload for dput

2006-12-02 Thread Ross Burton
Hi, Attached is a working patch for HTTP(S) upload, with authentication. http.py is the main file, that contains the custom classes used with urllib2 to handle DAV and authentication. https.py performs a nasty hack to import http.py and define its own upload() method, that changes the protocol us