开发者

python library for file upload and persistent connections? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 开发者_开发问答years ago.

Improve this question

I tried urllib{2}, pycurl and I'm looking at twisted's new http client. But:

  • I found urllib2 difficult to perform a file upload
  • pycurl multi looks right but unpythonic
  • twisted's http client does not support persistent connection (didn't check the file upload capability)

Is there any other alternative?


PiCloud's library uses urllib2_file which easily does upload via multipart data. I forget where we got the module (we later modified it). the urllib2_file is covered under a BSD license.


I rolled my own on top of httplib before discovering urllib3, which does both of these things.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜