Skip to content

Request: keep the content type in file() and append files for keys ending with [] #146

Open

Description

@temp

Split from #133, part of #103. Moved to 8.0 because it changes the request that is sent.

  • file() should keep an explicitly set content type (e.g. from json() or contentType()) instead of always overwriting it with multipart/form-data.
  • A key ending with [] (e.g. docs[]) should append files to a list. Today a literal docs[] key is stored and only the last file is kept.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions