Re: [Python-Dev] urllib, multipart/form-data encoding and file uploads

2008-06-30 Thread Chris AtLee
On Fri, Jun 27, 2008 at 9:06 PM, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Chris, > > To avoid losing these ideas, could you add them to the issue tracker as > feature requests? It's too late to get them into 2.6/3.0 but they may make > good additions for the next release cycle. > > Cheers, > Nick.

Re: [Python-Dev] urllib, multipart/form-data encoding and file uploads

2008-06-30 Thread Chris AtLee
On Sat, Jun 28, 2008 at 4:14 AM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: >> I didn't see any recent discussion about this so I thought I'd ask >> here: do you think this would make a good addition to the new urllib >> package? > > Just in case that isn't clear: any such change must be delayed

Re: [Python-Dev] urllib, multipart/form-data encoding and file uploads

2008-06-28 Thread Martin v. Löwis
> I didn't see any recent discussion about this so I thought I'd ask > here: do you think this would make a good addition to the new urllib > package? Just in case that isn't clear: any such change must be delayed for 2.7/3.1. That is not to say that you couldn't start implementing it now, of cour

Re: [Python-Dev] urllib, multipart/form-data encoding and file uploads

2008-06-27 Thread Greg Ewing
Chris AtLee wrote: One thing I've always missed in urllib/urllib2 is the facility to encode POST data as multipart/form-data. I second that, having had to reinvent it a couple of times recently. It seems like an obvious thing to want to do, and it's surprising to find it's not supported. -- Gr

Re: [Python-Dev] urllib, multipart/form-data encoding and file uploads

2008-06-27 Thread Nick Coghlan
Chris AtLee wrote: Then we'd need to change either urllib or httplib to support iterable objects in addition to the regular strings that it currently uses. Chris, To avoid losing these ideas, could you add them to the issue tracker as feature requests? It's too late to get them into 2.6/3.0 b

Re: [Python-Dev] urllib, multipart/form-data encoding and file uploads

2008-06-27 Thread Bill Janssen
All sounds reasonable to me. Bill > On Fri, Jun 27, 2008 at 11:40 AM, Bill Janssen <[EMAIL PROTECTED]> wrote: > >> I notice that there is some work being done on urllib / urllib2 for > >> python 2.6/3.0. One thing I've always missed in urllib/urllib2 is the > >> facility to encode POST data as m

Re: [Python-Dev] urllib, multipart/form-data encoding and file uploads

2008-06-27 Thread Chris AtLee
On Fri, Jun 27, 2008 at 11:40 AM, Bill Janssen <[EMAIL PROTECTED]> wrote: >> I notice that there is some work being done on urllib / urllib2 for >> python 2.6/3.0. One thing I've always missed in urllib/urllib2 is the >> facility to encode POST data as multipart/form-data. I think it would >> als

Re: [Python-Dev] urllib, multipart/form-data encoding and file uploads

2008-06-27 Thread Bill Janssen
> I notice that there is some work being done on urllib / urllib2 for > python 2.6/3.0. One thing I've always missed in urllib/urllib2 is the > facility to encode POST data as multipart/form-data. I think it would > also be useful to be able to stream a POST request to the remote > server rather

[Python-Dev] urllib, multipart/form-data encoding and file uploads

2008-06-27 Thread Chris AtLee
Hello, I notice that there is some work being done on urllib / urllib2 for python 2.6/3.0. One thing I've always missed in urllib/urllib2 is the facility to encode POST data as multipart/form-data. I think it would also be useful to be able to stream a POST request to the remote server rather th