摘要:
转载一段python代码,通过urllib2使用multipart/form-data来发送文件import httplib, mimetypesdef post_multipart(host, selector, fields, files): """ Post fields and files to an http host as multipart/form-data. fields is a sequence of (name, value) elements for regular form fields. files is a sequence of 阅读全文
posted @ 2012-12-27 17:48
Jerry.Kwan
阅读(996)
评论(0)
推荐(0)

浙公网安备 33010602011771号