Skip to content

Multiple multipart data with same name in multipart  #39

Description

@memlucky71

@pylover Currently, multipart is a dictionary and does not support having several multipart data with the same name.
To support this, I think we have 2 options:

  • Use list as a value of a multipart dict:

Example:

multipart={'inputFiles':[filelike1, filelike2]}
  • Change type of multipart from dict to list of tuples:

Example:

multipart=[('inputFiles', filelike1), ('inputFiles', filelike2)]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions