File tree 5 files changed +5
-5
lines changed
cronet_http/example/integration_test
http_client_conformance_tests/lib/src
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Future<void> testClientFromFutureFails() async {
35
35
test ('cronet engine future fails' , () async {
36
36
final engineFuture = CronetEngine .build (
37
37
cacheMode: CacheMode .disk,
38
- storagePath: '/non-existant -path/' , // Will cause `build` to throw.
38
+ storagePath: '/non-existent -path/' , // Will cause `build` to throw.
39
39
userAgent: 'Test Agent (Future)' );
40
40
41
41
final client = CronetClient .fromCronetEngineFuture (engineFuture);
Original file line number Diff line number Diff line change 46
46
47
47
## 0.0.6
48
48
49
- * Make the number of simulateous connections allowed to the same host
49
+ * Make the number of simultaneous connections allowed to the same host
50
50
configurable.
51
51
* Fixes
52
52
[ cupertino_http: Failure calling Dart_PostCObject_DL] ( https://github.com/dart-lang/http/issues/785 ) .
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import 'dart:io';
8
8
9
9
import 'package:stream_channel/stream_channel.dart' ;
10
10
11
- /// Starts an HTTP server that absorbes a request stream of integers and
11
+ /// Starts an HTTP server that absorbs a request stream of integers and
12
12
/// signals the client to quit after 1000 have been received.
13
13
///
14
14
/// Channel protocol:
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ void testRequestHeaders(Client client) async {
35
35
await client.get (Uri .http (host, '' ), headers: {'FOO' : 'BAR' });
36
36
37
37
final headers = await httpServerQueue.next as Map ;
38
- // RFC 2616 14.44 states that header field names are case-insensive .
38
+ // RFC 2616 14.44 states that header field names are case-insensitive .
39
39
// http.Client canonicalizes field names into lower case.
40
40
expect (headers['foo' ], ['BAR' ]);
41
41
});
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ void testResponseHeaders(Client client) async {
34
34
httpServerChannel.sink.add ({'foo' : 'BAR' });
35
35
36
36
final response = await client.get (Uri .http (host, '' ));
37
- // RFC 2616 14.44 states that header field names are case-insensive .
37
+ // RFC 2616 14.44 states that header field names are case-insensitive .
38
38
// http.Client canonicalizes field names into lower case.
39
39
expect (response.headers['foo' ], 'BAR' );
40
40
});
You can’t perform that action at this time.
0 commit comments