OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 library http.test.html_utils; |
| 6 |
| 7 import 'dart:async'; |
| 8 import 'dart:convert'; |
| 9 import 'dart:html'; |
| 10 |
| 11 import 'package:http/http.dart'; |
| 12 import 'package:http/src/utils.dart'; |
| 13 import 'package:unittest/unittest.dart'; |
| 14 |
| 15 export '../utils.dart'; |
| 16 |
| 17 /// The test server's echo URL. |
| 18 Uri get echoUrl => Uri.parse( |
| 19 '${window.location.protocol}//${window.location.host}/echo'); |
OLD | NEW |