Skip to content

Request: file uploads #133

Open
Open

Description

@temp

Part of #103. Line numbers refer to branch chore/php-8.4-dependabot (#98). Verified = reproduced, suspected = from reading the code.

  • file() overwrites the content type, even if the body is JSON or a content type was set explicitly (RequestBuilder.php:246). Verified.
  • Multiple uploads under one field keep only the last file (docs[]) (RequestBuilder.php:258). Verified.
  • The client MIME type is always application/octet-stream and can't be set (RequestBuilder.php:263-283). Verified.
  • Temp files under sys_get_temp_dir() are never deleted. Clean them up in #[After].
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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions