Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Considerations for Multipart support off of HttpRequest #965

Closed
@daniel-white

Description

@daniel-white

I'm experimenting with adding Multipart support to HttpRequest. It will be done similarly to how forms are handled, using the same patterns and MultipartReader. The end goal is to allow MVC and Web API to define models as multipart.

I'm hoping for some feedback on the direction.

  • How should MultipartSection be handled? Should Microsoft.AspnetCore.Http.Abstractions define its own MultipartSection? Or should we move it from Microsoft.AspnetCore.WebUtilities? There seems to be no clear reference graph for this.
  • Should there be a MultipartValues which would work like StringValues?
  • Should the MultipartSectionCollection be able to looked up by key and as a list? Not all parts have names.

Thoughts?

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