Python standard library to POST multipart/form-data encoded data

前端 未结 3 851
感动是毒
感动是毒 2020-12-05 07:41

I would like to POST multipart/form-data encoded data. I have found an external module that does it: http://atlee.ca/software/poster/index.html however I would rather avoid

3条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-05 08:22

    The standard library does not currently support that. There is cookbook recipe that includes a fairly short piece of code that you just may want to copy, though, along with long discussions of alternatives.

提交回复
热议问题