Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: pkg/http_server/lib/src/http_body.dart

Issue 18438005: Move MimeMultipartTransformer and HttpBodyHandler to mime and http_server packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove import. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/http_server/lib/http_server.dart ('k') | pkg/http_server/lib/src/http_body_impl.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart.io; 5 part of http_server;
6 6
7 7
8 /** 8 /**
9 * [HttpBodyHandler] is a helper class for processing and collecting 9 * [HttpBodyHandler] is a helper class for processing and collecting
10 * HTTP message data in an easy-to-use [HttpBody] object. The content 10 * HTTP message data in an easy-to-use [HttpBody] object. The content
11 * body is parsed, depending on the `Content-Type` header field. When 11 * body is parsed, depending on the `Content-Type` header field. When
12 * the full body is read and parsed the body content is made 12 * the full body is read and parsed the body content is made
13 * available. The class can be used to process both server requests 13 * available. The class can be used to process both server requests
14 * and client responses. 14 * and client responses.
15 * 15 *
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 * The [ContentType] of the uploaded file. For 'text/\*' and 229 * The [ContentType] of the uploaded file. For 'text/\*' and
230 * 'application/json' the [data] field will a String. 230 * 'application/json' the [data] field will a String.
231 */ 231 */
232 ContentType contentType; 232 ContentType contentType;
233 233
234 /** 234 /**
235 * The content of the file. Either a [String] or a [List<int>]. 235 * The content of the file. Either a [String] or a [List<int>].
236 */ 236 */
237 dynamic content; 237 dynamic content;
238 } 238 }
OLDNEW
« no previous file with comments | « pkg/http_server/lib/http_server.dart ('k') | pkg/http_server/lib/src/http_body_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698