[issue14639] Different behavior for urllib2 in Python 2.7

2013-03-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: I am okay with closing this. If Diego gets back with more info or specifics of error, we can deal with it. -- assignee: -> orsenthil resolution: -> wont fix stage: -> committed/rejected status: pending -> closed

[issue14639] Different behavior for urllib2 in Python 2.7

2013-03-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14639] Different behavior for urllib2 in Python 2.7

2012-04-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Could you give the proper POST FORM url which you were trying? I could try it in 2.6 and 2.7 and see if there is any difference. Nothing has changed that such low levels like the POST operations by sending of data. -- nosy: +orsenthil __

[issue14639] Different behavior for urllib2 in Python 2.7

2012-04-20 Thread Diego Manenti Martins
Diego Manenti Martins added the comment: It stoped to work. It was working when using with python 2.6 and crashed on switching to python 2.7 I expect the same behavior of curl -X POST http://server.com/post_image?tid=zoV6LJ -T test.jpg -- ___ Pyth

[issue14639] Different behavior for urllib2 in Python 2.7

2012-04-20 Thread Eric V. Smith
Eric V. Smith added the comment: In what way is it different? Does it cause a problem, or is it compatible but different? -- nosy: +eric.smith ___ Python tracker ___ __

[issue14639] Different behavior for urllib2 in Python 2.7

2012-04-20 Thread Diego Manenti Martins
New submission from Diego Manenti Martins : this code sends data in a different way if using python 2.6 or python 2.7 >>> import urllib2 >>> url = 'http://server.com/post_image?tid=zoV6LJ' >>> f = open('test.jpg') >>> data = f.read() >>> res = urllib2.urlopen(url, data) I checked it with wiresh