refactor upload files with requests-toolbelt:

1, Simplify usage syntax;
2, support upload multiple fields.
This commit is contained in:
debugtalk
2019-04-11 12:25:20 +08:00
parent 4d09ddd688
commit e58e87befe
6 changed files with 59 additions and 20 deletions

View File

@@ -21,7 +21,8 @@ install_requires = [
"har2case",
"colorama",
"colorlog",
"requests_toolbelt"
"requests_toolbelt",
"filetype"
]
class UploadCommand(Command):