Skip to content

Allow form-data name without quotes #4660

@FuJa0815

Description

@FuJa0815

Bug Description

Currently in a multipart form request the following cannot be parsed:

--7427efb8-6ce7-4740-9198-d90399842641
Content-Type: text/plain; charset=utf-8
Content-Disposition: form-data; name=test

abc
--7427efb8-6ce7-4740-9198-d90399842641--

with this error: TypeError: expected form-data; name=" for content-disposition header.

This is a valid request though that the C# MultipartFormDataContent also creates.

Expected Behavior

This request should be handled

Logs & Screenshots

Environment

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions