Skip to content

Base64 upload not working (tested with swagger-ui) #1825

@BoldizsarP

Description

@BoldizsarP

Description

I am working on understanding multipart/form-data and in my example I have a binary and a base64 file example.

Expected behaviour

I should be able to pass through both of them, together or seperately in the swagger-ui interface

Actual behaviour

Binary upload is working, but base64 is not

Steps to reproduce

I have zipped the workbench, just run it. And try to upload base64 according to the openapi

Additional info:

I had to downgrade starlett to "<=0.32.0.post1" just to start it
Base64Issue.zip

Output of the commands:

  • python 3.11.0
  • Version: 3.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions