Skip to content

Add a multipart/form-data parser #6952

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nex3 opened this issue Nov 26, 2012 · 2 comments
Closed

Add a multipart/form-data parser #6952

nex3 opened this issue Nov 26, 2012 · 2 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-duplicate Closed in favor of an existing report

Comments

@nex3
Copy link
Member

nex3 commented Nov 26, 2012

The pkg/http library includes code to generate multipart/form-data requests, but there's no code in Dart to parse such requests. This is necessary to handle file uploads, or to fully test code that performs file uploads.

This could either go in dart:io somewhere, or in a separate package.

@sgjesse
Copy link
Contributor

sgjesse commented Dec 5, 2012

A push based multipart/form-data body decoder is present in sdk/lib/io/mime_multipart_parser.dart with some tests in tests/standalone/io/mime_multipart_parser_test.dart. This needs some more care and some library to expose it.

@sgjesse
Copy link
Contributor

sgjesse commented Dec 5, 2012

Added Duplicate label.
Marked as being merged into #2488.

@nex3 nex3 added Type-Defect area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-duplicate Closed in favor of an existing report labels Dec 5, 2012
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

2 participants