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

Side by Side Diff: samples/chat/http.dart

Issue 9254026: Split dart:builtin into dart:builtin and dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment and add binaries. Created 8 years, 11 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 | « samples/chat/chat_server_lib.dart ('k') | samples/markdown/markdown.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 #library("http"); 5 #library("http");
6 #import("dart:io");
6 #source("http_impl.dart"); 7 #source("http_impl.dart");
7 8
8 /** 9 /**
9 * HTTP status codes. 10 * HTTP status codes.
10 */ 11 */
11 interface HTTPStatus { 12 interface HTTPStatus {
12 static final int CONTINUE = 100; 13 static final int CONTINUE = 100;
13 static final int SWITCHING_PROTOCOLS = 101; 14 static final int SWITCHING_PROTOCOLS = 101;
14 static final int OK = 200; 15 static final int OK = 200;
15 static final int CREATED = 201; 16 static final int CREATED = 201;
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 } else { 405 } else {
405 value = queryString.substring(currentPosition, position); 406 value = queryString.substring(currentPosition, position);
406 currentPosition = position + 1; 407 currentPosition = position + 1;
407 } 408 }
408 result[HTTPUtil.decodeUrlEncodedString(name)] = 409 result[HTTPUtil.decodeUrlEncodedString(name)] =
409 HTTPUtil.decodeUrlEncodedString(value); 410 HTTPUtil.decodeUrlEncodedString(value);
410 } 411 }
411 return result; 412 return result;
412 } 413 }
413 } 414 }
OLDNEW
« no previous file with comments | « samples/chat/chat_server_lib.dart ('k') | samples/markdown/markdown.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698