Chromium Code Reviews| Index: sdk/lib/io/http_multipart_form_data.dart |
| diff --git a/sdk/lib/io/http_multipart_form_data.dart b/sdk/lib/io/http_multipart_form_data.dart |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1e50498a23fa0d6992237cb6048393beba2c3838 |
| --- /dev/null |
| +++ b/sdk/lib/io/http_multipart_form_data.dart |
| @@ -0,0 +1,24 @@ |
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| +// for details. All rights reserved. Use of this source code is governed by a |
| +// BSD-style license that can be found in the LICENSE file. |
| + |
| +part of dart.io; |
| + |
| + |
|
Søren Gjesse
2013/05/06 12:28:10
Some documentation is needed here.
Anders Johnsen
2013/05/06 13:38:16
Done.
|
| +abstract class HttpMultipartFormData implements Stream { |
| + ContentType get contentType; |
| + HeaderValue get contentDisposition; |
| + HeaderValue get contentTransferEncoding; |
| + |
| + bool get isText; |
| + bool get isBinary; |
| + |
| + static HttpMultipartFormData parse(MimeMultipart multipart) |
| + => _HttpMultipartFormData.parse(multipart); |
| + |
| + /** |
| + * Returns the value for the header named [name]. If there |
| + * is no header with the provided name, [:null:] will be returned. |
| + */ |
| + HeaderValue value(String name); |
| +} |