| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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 import 'dart:fletch'; | 5 import 'dart:fletch'; |
| 6 import 'dart:fletch.os' as os; | 6 import 'dart:fletch.os' as os; |
| 7 import 'dart:typed_data'; | 7 import 'dart:typed_data'; |
| 8 | 8 |
| 9 import 'package:file/file.dart'; | 9 import 'package:file/file.dart'; |
| 10 import 'package:http/http.dart'; | 10 import 'package:http/http.dart'; |
| 11 import 'package:socket/socket.dart'; | 11 import 'package:socket/socket.dart'; |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 } | 153 } |
| 154 | 154 |
| 155 if (verbose) { | 155 if (verbose) { |
| 156 print('Response $code on request for $resource'); | 156 print('Response $code on request for $resource'); |
| 157 } | 157 } |
| 158 | 158 |
| 159 socket.write(response); | 159 socket.write(response); |
| 160 socket.close(); | 160 socket.close(); |
| 161 } | 161 } |
| 162 } | 162 } |
| OLD | NEW |